Hi, leonel
At each interrupt, you increment ( or easier decrement !!! ) a counter ...which (inc) rements another counter if the first overflows ... which ( inc ) rements ...
etc. etc.
Permits to do something else during blinking ... ( isn't it Dwayne ??? )
can be done with PBP or directly with assembler ... ( No, ... i didn't tell it ... my doctor said: no shock on the head, ... )
Alain
PS : No interrupt ... so you poll for TMR0 overflow !!!
Bookmarks