I am controlling a small digital camera, using a lilypad. I soldered a wire to either side of the button that turns the camera on and measured the voltage between these two wires. The voltage is 320 when the camera is on. I ended up only connecting the positive wire to the microcontroller and setting the pin as input. To turn on the camera, I change the pin to output (low) momentarily and back to input. I am doing this because it’s the only thing that works.
I am wondering if setting the pin to input might drain the battery on the camera or cause other problems. Setting the pin to output (high) then momentarily low then high again does not work, nor does low, high, low…