I get 1:'='Expectedfrom the straight script from Leif.I also managed to get2:'<nExp>' expect
from inserting waterwingz 2 bits of code. Doing as it asked didn't do much.
I seem to have broken CHDK from playing today, it now wont boot at start up, regardless of going back and redoing the make sd card bootable bit.
rem Focus bracketingrem s focus distancerem f focal lengthrem a fnumberrem c circle of confusion@title SX50 Focus bracketing by Leif Karlsson@param p Max number of steps @default p 300@default c 5sleep 2000 for r=1 to p shoot get_focus s get_zoom f get_av n a=100*(s-f)/(f+n*c) b=100*2*s*f/(f*f+s*n*c-n*c*f) d=a*b/10000 g=s+d/8 set_focus g print g,d if g>50000 then r=p if d<0 then r=p next rend
set_mf 1set_mf 0
What does it do now when the camera starts?
Yes I do have it with a .lua extension.
Next mission, re install CHDK and start over.
Well, that's probably part of the problem. The script you included is written in uBASIC rather than Lua. Use .bas for the extension.
Started by kidtree
Completed and Working Scripts
Started by genosmm
RAW Shooting and Processing
Started by ahull
Creative Uses of CHDK
Started by mrhansenable
« 1 2 »
Started by pigeonhill
General Help and Assistance on using CHDK stable releases