Replies: 1 comment 3 replies
-
Hi, James, Thanks for your interest in the arduino-timer library. The reason it's currently a software only timer is because hardware timers are hardware specific. Each chip can need different code to setup and use the different interrupts for their timers. Maintaining compatibility with all the different chips is a big task, and not one I can support both time-wise and hardware-wise. That being said, it is an interesting topic, and you should learn about using hardware timers for when you do need them. I believe there are also existing libraries that try and provide cross-platform timer APIs if you're interested in seeing example implementations. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I was working with MillisTimer and found it only ran after a timer.run() and would not repeat. However it is no longer actively supported. I'm an electrical engineer and am working towards making an arduino multi timer for personal time management, to better learn the community, and to have fun with Arduino.
What are your thoughts on making this work with the chip hardware timers? I'm curious if there is a way to better implement the MillisTimer library and integrate the hardware timer with your class arduino-timer.
The current arduino-timer library is probably more than enough for the functionality I need at present but I think it would be fun to learn to use the arduino hardware timers.
I'd like to collaborate on this.
James Stenquist
Beta Was this translation helpful? Give feedback.
All reactions