@title chdk2 continuous shutter and shut-offrem author mikerem use gear and aux 1 portsrem single wire cable goes into AUX 1rem multi wire cable goes into GEARwhile 1wait_click 1 do a = get_usb_power until a>0 if a < 5 then gosub "ch1up" if a > 4 and a < 8 then gosub "ch1mid" if a > 7 and a < 11 then gosub "burst" if a > 10 and a < 14 then gosub "ch2up" if a > 13 and a < 17 then gosub "ch2mid" if a > 16 and a < 20 then gosub "shutdown" if a > 19 then print "error"wendend:ch1up print "camera shutter off" return:ch1mid print "channel 1 middle" return:ch1down print "channel 1 down" return:ch2up print "channel 2 up" return:ch2mid print "channel 2 middle" return:ch2down print "channel 2 down" return:shutdown shut_down return:burstpress "shoot_half"sleep 500 press "shoot_full"while is_key "remote"press "shoot_full"wendrelease "shoot_full"release "shoot_half"return
:burst press "shoot_half" sleep 500 press "shoot_full" while get_usb_power > 0 press "shoot_full" sleep 10 wend release "shoot_full" release "shoot_half"return
burst: press "shoot_half" sleep 500 press "shoot_full" b = 1 while b press "shoot_full" do a = get_usb_power until a>0 if a < 8 then b = 0 if a > 16 then b = 0 wend release "shoot_full" release "shoot_half" return
Started by Sterling « 1 2 » Feature Requests
Started by Balloon555 « 1 2 ... 5 6 » Script Writing
Started by airfoto.se « 1 2 3 » Script Writing
Started by craigar General Help and Assistance on using CHDK stable releases
Started by Johnc General Help and Assistance on using CHDK stable releases