If I remember correctly the callback needs to return a boolean and if it's true then the timer will repeat
try with
bool toggle_led() {
Serial.print("a");
return true;
}
If I remember correctly the callback needs to return a boolean and if it's true then the timer will repeat
try with
bool toggle_led() {
Serial.print("a");
return true;
}