-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Hi, I've modified the example code from the multiple timer folder with my desired interrupt time (1000 microseconds for Timer0 and 5000 microseconds for Timer3). From the arduino serial monitor, It seems that the arduino hangs at 5000us. Does this mean that the arduino does not know what ISR to prioritize? I've attached the code and the output of the arduino serial monitor for visualization.
void firstHandler(){
Serial.println("[- ] First Handler!");
}
void secondHandler(){
Serial.println("[ - ] Second Handler!");
}
void thirdHandler(){
Serial.println("[ -] Third Handler!");
}
void setup(){
Serial.begin(115200);
Timer0.attachInterrupt(firstHandler).start(1000);
Timer3.attachInterrupt(secondHandler).start(5000);
}
void loop() {
}
Am I missing something? Its my first time using the library. Any help would be greatly appreciated. Thank you.
Metadata
Metadata
Assignees
Labels
No labels
