4-Wire-FAN-Arduino
4-Wire-FAN-Arduino copied to clipboard
4-Wire FAN control with Arduino ATmega328P/ATtiny85
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?
On code says PB0 Disabled, but there's a lack of information. Should be present on comments why is it disabled, if can be used as digital pin only or interrupts....