Hi everyone,
I'm working with an Arduino Uno and would like to modify the Timer1 library for timer0 and timer2. In other words, I would like to create separate Timer0 and Timer2 versions of the already existing Timer1 library.
I looked at the TimerOne.cpp and TimerOne.h files but couldn't understand them enough to modify, as I am unfamiliar with the internal architecture of the ATmega328.
Can someone please tell me what I have to alter in these files in order to make it work with timer0 and timer2?