Ever noticed how devices such as mobile phones have a single button that is used for both power up and power down?
I'm using a PIC microcontroller but I dont have many I/O pins to spare, and I was wandering if anyone had a neat hardware & software solution to achieving this.
Thanks,
Dimitri.
By the way:
(I've seen a circuit on the Tips'n'Tricks PDF from Microchip that uses the clk out of the pic to latch a FET which holds the power on however this kind of circuit can't use the same button to power down.)
I'm using a PIC microcontroller but I dont have many I/O pins to spare, and I was wandering if anyone had a neat hardware & software solution to achieving this.
Thanks,
Dimitri.
By the way:
(I've seen a circuit on the Tips'n'Tricks PDF from Microchip that uses the clk out of the pic to latch a FET which holds the power on however this kind of circuit can't use the same button to power down.)