one idea
Hi,
I remember some batches of 12F683 did not like the duty value to be changed " on the fly " and needed to stop and restart the CCP module.
Was written on the µChip datasheet ( prior to D release )...
I think some lines about it exist on this forum.
But you don't use the CCP module ...
What I see more is you want to stop Timer0
Code:
bcf OPTION_REG,5 ;stop timer
Option.5 is the TOCS bit ... and that's not a good thing to switch clock to TockI pin ...
Alain
Last edited by Acetronics2; - 28th January 2010 at 12:45.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks