I have a need for timer interrupt (for the sake of this exercise - say I need to execute something every second)
I found code in many places on the internets that does this using ISR for 328/Uno. (or specifically for other chips) But of course that does not work on other chipsets.
Is there a portable timer library that works across many/most/all arduino boards/chipsets?
For now it is a simple project - I have no other motors or tones, etc.
In my current project I have conditional compiles for different chipsets, to set up a callback/interrupt but would rather use a library that hides this all.