A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
Although I've been using PICs for years, I'm only now studying the
SLEEP instruction and code to wake up the processor. It's not going
well at the moment.
Microchip's app note AN552, "Implementing Wake-up on Key Stroke," has
sample code for a 16C71. I pasted the code into the MPLAB IDE, and it
assembled without errors. A PICStart Plus programmed it into a 16C71
with no errors.
However, it does not perform. When a key is pressed, no LED lights, as
it should. The PIC's crystal oscillator runs (4 MHz), and the LEDs
light when tested separately, in the circuit.
Anyone have experience with this program, or with others that I could
try? Using the 16C71 is not necessary; I only used that because the
app note code is written for it.
Best regards,
John
Germantown, Ohio
------------------------------------
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )