struct bird
{
const char* name;
const uint8_t period;
const int mode[4][5];
} const bird[6] =
{
{"CHICK", 21, {{2, 382, 600, 0, 1}, {12, 376, 600, 3, 1}, {15, 374, 480, 10, 1}, {18, 370, 855, 10, 0}}},
{"QUAIL", 17, {{2, 378, 550, 0, 1}, {7, 378, 500, 3, 1}, {14, 378, 500, 10, 1}, {16, 375, 700, 0, 0}}},
{"DUCK", 28, {{7, 382, 700, 0, 1}, {14, 378, 600, 0, 1}, {25, 378, 600, 10, 1}, {28, 375, 855, 0, 0}}},
{"MUSKUS", 21, {{2, 380, 600, 0, 1}, {7, 378, 550, 0, 1}, {29, 375, 450, 10, 1}, {30, 370, 750, 0, 0}}},
{"PEREPEL", 30, {{7, 378, 700, 0, 1}, {14, 378, 600, 0, 1}, {27, 378, 600, 15, 1}, {30, 375, 855, 0, 0}}},
{"TURKEY", 28, {{8, 377, 650, 0, 1}, {14, 377, 500, 0, 1}, {25, 375, 650, 10, 1}, {28, 375, 655, 10, 0}}},
};
void setup() {
Serial.begin(9600);
char buffer[30];
for (int i = 0; i < 6; i++)
{
Serial.println(bird[i].name);
Serial.println(bird[i].period);
Serial.println(bird[i].mode[0][1]);
delay( 500 );
}
}
void loop() {
}