Hello.
Iīm trying to write a simple example that will make my ledīs flash every 20s.
I understand timerīs in PIC16F872 because they have interrupts associated (TMR1), but iīm using PIC16F57 which only has one timer, TMR0, and no interrupts...
TMR0 timer is an 8-bit special function register with working range of 256. Assuming that 4MHz oscillator is used, TMR0 can measure 0-255 microseconds range (at 4MHz, TMR0 increments by one microsecond), but how do i measure 20s with TMR0?
Regards
Bookmarks