Hello
I want to use a sleep function on a PIC12f629 cause I'm placing it into a digital camera. It has to save power when camera is off so it won't drain the battery.
Almost all the pins are configured as inputs(tri-state) and they will go active Low when a certain signal is received from rc receiver. So the PIC will activate shutter, zoom in, zoom out, on/off functions.
Now what happens if I go sleep mode, all outputs that are configured as inputs will go active Low. It means that all the leds on my breadboard lihts up and all functions would be executed in the camera.
How can I do so that the pins remain tri-state while sleep? Manual says nothing about this phenomen
I want to use a sleep function on a PIC12f629 cause I'm placing it into a digital camera. It has to save power when camera is off so it won't drain the battery.
Almost all the pins are configured as inputs(tri-state) and they will go active Low when a certain signal is received from rc receiver. So the PIC will activate shutter, zoom in, zoom out, on/off functions.
Now what happens if I go sleep mode, all outputs that are configured as inputs will go active Low. It means that all the leds on my breadboard lihts up and all functions would be executed in the camera.
How can I do so that the pins remain tri-state while sleep? Manual says nothing about this phenomen