My circuit uses port a3 Steve, -----Original Message----- From: pic microcontroller discussion list = [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Tony Harris Sent: 25 May 2003 23:26 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [EE]: Good soft on/off switch circuit?? I would do that, but all of my port B pins are taken already :( I only = have a few pins available that aren't in use, most in the A and D block as I recall. -Tony ----- Original Message ----- From: "Philip Pemberton" To: Sent: Sunday, May 25, 2003 4:39 PM Subject: Re: [EE]: Good soft on/off switch circuit?? > In message <000701c322f7$369a1540$8698ab41@THSystem> > Tony Harris wrote: > > > I need to find a decent circuit to do a soft on/off. > [snip] > Well, you could just leave the PIC in "Sleep" mode, then hook a switch = > up to > RB0, enable the RB0 interrupt and wait. That should work fine. When=20 > the user > hits the "Off" button, the PIC finishes what it's doing and goes back=20 > to sleep. I've done it, it works fine, YMMV. > > Later. > -- > Phil. > philpem@dsl.pipex.com > http://www.philpem.dsl.pipex.com/ > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! email = > listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body