Download uBASIC User Guide
Transcript
Note: press and release would not normally be used with this button, but without knowing each and every camera model’s functions and the creative ways some might use scripts, these two command-methods are also mentioned. “erase” The erase button. [Note: actuates the FUNC (function) button for S-series cameras.] This will often be used to select some shooting parameters like exposure-compensation, movie frame-rates, white-balance settings, ... any of the options that can be reached by pressing this button on your camera. It is then used in conjunction with directional buttonpresses to choose the desired settings. Note: press and release would not normally be used with this button, but without knowing each and every camera model’s functions and the creative ways some might use scripts, these two command-methods are also mentioned. Example: @title EXP bracketing @param a Number of ±steps @default a 2 @param b Step size (1/3EV) @default b 3 if a<1 then let a=2 if b<1 then let b=3 sleep 1000 print “Preparing...” click “erase” for n=1 to a*b click “left” next n for s=1 to a*2 print “Shoot”, s, “of”, a*2+1 shoot for n=1 to b click “right” next n next s print “Shoot”, a*2+1, “of”, a*2+1 shoot print “Finalizing...” for n=1 to a*b click “left” next n click “erase” end In this “Exposure Bracketing” script, if you follow the embedded button-presses, you’ll see that your Exposure Compensation setting is being selected by using the click “erase” command. The click “right” and click “left” commands are moving the Exposure compensation settings to the right and left (more exposure and less exposure), just as you would if you were doing this manually from one shot to the next. D:\Downloads\Software\CHDK\UBASIC_User_Guide_D0_5.doc Page 23 of 65