However, I want to be able to turn off the LCD, or at least the backlight, to keep the camera from getting too hot and risking damage. So far I've read ways to create scripts to turn off backlights, but it is to my understanding that I can only run one script at a time.
rem Author - Keoeeitrem Written for S-Seriesrem Should be okay on othersrem Use Endless mode with cautionrem See documentation for important inforem first version@title Ultra Intervalometer@param a Delay 1st Shot (Mins)@default a 0@param b Delay 1st Shot (Secs)@default b 0@param c Number of Shots@default c 5@param d Interval (Minutes)@default d 0@param e Interval (Seconds)@default e 0@param f Interval (10th Seconds)@default f 5@param g Endless? No=0 Yes=1@default g 0p=a*60000+b*1000t=d*60000+e*1000+f*100if c<1 then let c=5if t<100 then let t=100if g<0 then let g=0if g>1 then let g=1if p<0 then let p=0z=t*cy=p+zprint "1 Cycle Time:", y/60000; "min", y%60000/1000; "sec"goto "interval":interval if p>0 then gosub "pause" print "Shot 1 of", c shoot if c=1 then end for n=2 to c sleep t print "Shot", n, "of", c shoot next n if g=1 then goto "interval" else end:pause n=(a*60)+b for m=1 to n q=n-m print "Intvl Begins:", q/60; "min", q%60; "sec" sleep 930 next m return
The script I'm using is the ultimate invtervalometer. Do I want to edit the ult_intrvl.bas file and just add that function (set_backlight(x)) anywhere in the script with value 0/1?
It's been quite some time and I can't quite remember which it was, but I want to say it was from this page, and Version 1http://chdk.wikia.com/wiki/UBASIC/Scripts:_Ultra_Intervalometer
... print "1 Cycle Time:", y/60000; "min", y%60000/1000; "sec" goto "interval" :interval if p>0 then gosub "pause" print "Shot 1 of", c shootrem ********new code for backlight************************ sleep 2000 set_backlight 0 rem **************************************************** if c=1 then end for n=2 to c sleep t print "Shot", n, "of", c shootrem ********new code for backlight************************ sleep 2000 set_backlight 0rem ********************************************** next n if g=1 then goto "interval" else end :pause n=(a*60)+b for m=1 to n q=n-m print "Intvl Begins:", q/60; "min", q%60; "sec" sleep 930 next m return
That did it! Thanks so much for your help. At first it wasn't working, but after a few seconds, it turned off the backlight and began taking shots.
set_backlight 0
You also mentioned that there were better scripts. Are there any that you suggest?
Started by fudgey « 1 2 3 » Feature Requests
Started by Barnacules Script Writing
Started by RaduP Feature Requests
Started by waterwingz « 1 2 ... 54 55 » DryOS Development
Started by Siel General Help and Assistance on using CHDK stable releases