struct Task {
int timer;
const char* text;
};
void loop() {
Task tasks[] = {
{3600, "тест1"},
{1212, "тест2"},
{5411, "тест3"},
{2525, "тест4"}
};
for (const auto& task : tasks) {
timer = task.timer;
text = task.text;
zadanie();
}
}