Hello. I have a project at Arduino DUE and want to use Teensy 4.0 in this project.
I use timer interrupt in my project. Here is example:
How can i rewrite this code to use in Teensy 4.0 ? I want to use QuadTimer of NXP i.MX RT1060 processor, but don't find it's description in Arduino\hardware\teensy\avr\cores\teensy4 directory.
Thanks,
Ihar
I use timer interrupt in my project. Here is example:
Code:
Timer3.attachInterrupt(TimeKeeper);
Timer3.start(500000);
Timer4.attachInterrupt(TimeAttention);
Timer4.start(400000);
Timer5.attachInterrupt(TimeButDelay);
Timer5.start(300000);
Timer6.attachInterrupt(TimeRotationDelay);
Timer6.start(200000);
How can i rewrite this code to use in Teensy 4.0 ? I want to use QuadTimer of NXP i.MX RT1060 processor, but don't find it's description in Arduino\hardware\teensy\avr\cores\teensy4 directory.
Thanks,
Ihar