I'm trying to use intervalometer script on my SD450 Digital Elph. I noticed that it's not listed as a tested camera on the script page so my problem simply might be that the camera is incapable of using the script.
@title Simple Intervalometer@param d Delay before start (Secs)@default d 2@param i Interval between photos (Secs)@default i 5sleep 1000*dwhile 1 shoot sleep i*1000wendend
Well, there's something wrong when you get a uBASIC error message trying to run a Lua script
This might serve well also as a script for you to read so that you can understand how scripting works. To use: create an empty text file called "mint.lua" in CHDK/SCRIPTS on the flash card. Paste the code below into the file. Start CHDK, press the shortcut key, press Set, select Load Script from File, find mint.lua, go wild.
--[[@title Minimalistic Intervalometer@param a Shooting interval, min@default a 0@param b ...sec@default b 10--]] Interval = a*60000 + b*1000 function TakePicture() press("shoot_half") repeat sleep(50) until get_shooting() == true press("shoot_full") release("shoot_full") repeat sleep(50) until get_shooting() == false release ("shoot_half") end repeat StartTick = get_tick_count() TakePicture() sleep(Interval - (get_tick_count() - StartTick))until false
Started by bugbear Script Writing
Started by ibo Firmware Dumping
Started by leighsinclair « 1 2 3 4 » General Discussion and Assistance
Started by UgoRaffaele Firmware Dumping
Started by pggsx230hs Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)