I have changed the Arduino code to give pulses of 40, 80 and 120 mSec as you suggested. I have tried running the code that you submitted again and I get a 'uBASIC:6 Unk stmt' error.
I have checked in the CHDK settings that [Disable LCD Off] is set to 'Always' but the camera still turns off after a few seconds in review mode. If you think the camera is the reason that it shuts down in play mode then I will give up but if you think there is something that can be changed in the code then I will persevere.
I removed line 6 from the the script and adjusted the code to allow for the different voltage pulses and the script works exactly as I hoped it would!
while 1 do sleep(20) k = get_usb_power until k > 0 print "Pulse Detected",k if k < 7 then gosub "ch1up" if k > 6 and k < 11 then gosub "ch1mid" if k > 10 and k < 14 then gosub "ch1down" if k > 13 then print "error",kwend
Started by kingfisher
Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by yousaf465
General Help and Assistance on using CHDK stable releases
Started by hokolomon
« 1 2 »
Started by thepanoguy
Started by nablo
General Discussion and Assistance