Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Just to be sure, complement an used port pin in the timer 0 or 2 (what is it finally??) and put a scoop on that pin, you should see a square wave with 10ms ton/toff assuming codeS.K said:I changed back to 12MHz xtal again...
TIMER_2 EQU 65535 - 10000
You can go on with your "WAIT" loop (for now )but remember it's not good practice to hold on the µC in a loop.S.K said:I'm not quite clear about the "endless loop" example...
But isit i have to add some code to start / stop the timer?
Because i use the timer to calculate the number of overflows and the last value in TH and TL...
not good practice to hold on the µC in a loop