'AW: [PIC:] 16F684 wake up problem'
Thanks for your hint, it helped solving the problem, works perfectly now!
Von: mit.edu [ piclist-bouncesmit.edu] Im Auftrag von piclist-bounces
Gesendet: Mittwoch, 28. Februar 2007 20:22
An: Microcontroller discussion list - Public.
Betreff: Re: [PIC:] 16F684 wake up problem
> pls see below most of my code. Everything works fine except my wake up
> from sleep, it goes to sleep, no problem, but it never wakes up again. Any
> @ DEVICE PIC16F684, WDT_OFF 'Watchdog OFF
The BASIC version of SLEEP requires you to have the WDT enabled. It sets up
a loop that counts down the SLEEP time interval, and exits the loop once the
time interval has expired.
If you have WDT disabled, and want to use wake-up-on-change, then use the @
SLEEP assembler option.
Otherwise, you're waking up within the BASIC SLEEP loop, and execution
begins with the next instruction in the BASIC SLEEP loop, waiting for the
time period to expire.
More... (looser matching)
- Last day of these posts
- In 2007
, 2008 only
- New search...