4-Wire-FAN-Arduino
4-Wire-FAN-Arduino copied to clipboard
[QUESTION] Timer0 and Timer1
Hi!
This comment says we're working with Timer1 https://github.com/marceloaqno/4-Wire-FAN-Arduino/blob/4c708a05e8df8faf08be405af2d7161e2f5485a9/ATtiny_PWM_Phase_Corret_25kHz.ino#L14
But in setup() we're initializing Timer0 registers
https://github.com/marceloaqno/4-Wire-FAN-Arduino/blob/4c708a05e8df8faf08be405af2d7161e2f5485a9/ATtiny_PWM_Phase_Corret_25kHz.ino#L30-L31
https://github.com/marceloaqno/4-Wire-FAN-Arduino/blob/4c708a05e8df8faf08be405af2d7161e2f5485a9/ATtiny_PWM_Phase_Corret_25kHz.ino#L33-L34
Is the comment incorrect, and we're actually using Timer0?