hi to all
i'm using ccs c compiler for pic(mp lab ide v.8.53).how to initialize timer0 in pic16f84a?.i"m set OPTION=0x00 AND TMR0=0xFF;
this way is correct or not?if u have any other way to initialize timer0?pls help me.i'm attached a timer0 example program.pls giv suggession
thanks
normally if you are using the interrupt, timer will be more useful because it runs independent of the actual program execution.
first of all timer 0 is always working. when you want to use it, you can load the reaload value and enable the interrupt.
have you build and tested the file? what was the result?