maybe a vBulletin issue

Originally Posted by
bogdan
...did you try
@ sleep
@ nop
?
Hi brid0030,
your @SLEEP needs a space @ SLEEP, and as noted above an @ NOP or two sometimes helps too
Now another problem. This pic seems to reset when it wakes from as opposed to carrying on where it left off. Does this mean I lose all my RAM variable values? Is it possible to save and restore the counter to continue a program after sleep? Surely someone has worked with these...
How sure about the WDT timer being off are you? Did your programmer override your config due to check box being checked?
Code:
OPTION_REG = %10010000 'SET OPTION REGISTER FOR WAKE ON CHANGE
option reg set to enable on change interrupts and timer0 "1 = Increment on high-to-low transition on the T0CKI pin" seems to me this bit should be zero as you do not use the timer . . .
Last edited by Archangel; - 21st August 2009 at 04:10.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks