@title gentled chdk2 scriptrem author Dave Mitchell - dave@zenoshrdlu.comrem this script does nothing except display the state of the two transmitter joysticks thatrem correspond to the two receiver servo slots connected to the Gentled CHDK2rem it's designed to let you test that your Gentled CHDK2 is working properlyremrem you can modify this script by putting whatever camera actions you like in place of the "print" statementswhile 1 do a = get_usb_power until a>0 if a <=4 then gosub "ch1up" else if a <=7 then gosub "ch1mid" else if a <=10 then gosub "ch1down" else if a <=13 then gosub "ch2up" else if a <=16 then gosub "ch2mid" else if a <=19 then gosub "ch2down" else print "error"wendend:ch1up print "channel 1 up" 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
rem TEST GENTLED 132while 1 do a = get_usb_power until a>0 print "pulse length=", awendend
Started by barberofcivil Script Writing
Started by pope7 General Discussion and Assistance
Started by jjudd General Help and Assistance on using CHDK stable releases
Started by emkay_01 General Help and Assistance on using CHDK stable releases
Started by Steveor Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)