...the default "step" parameter is too low ... switched it to 40 and there with every click of the zoom button, the effect were more noticeable...What are these "steps" anyway? Do they represent centimeters or inches?
For very close Macro work like the SX20 is capable to achieve...meaning that the object is only 1 or 2 centimeters away from the front of the lens, I have found that I need to lower the value to about 10 or 15. Having said that, if I were to photograph something much farther (like I was trying to do in my first test shots) it seems that this is when the Steps need to be higher.
rem Author SkyWalker9@title ZmFocus@param b Step size [x5]@default b 8if b<1 then b=1b=b*5sleep 500get_focus fprint "focus: ", fprint "Zoom IN or OUT"sleep 1000press "shoot_half":loop wait_click 10000 is_key k "zoom_in" if k=1 then gosub "zoom_in" is_key k "zoom_out" if k=1 then gosub "zoom_out"goto "loop":unknown print "Zoom IN or OUT"return:zoom_in f=f+b set_focus f print "focus: ", freturn:zoom_out f=f-b set_focus f print "focus: ", freturnsleep 1000release "shoot_half":endend
Started by Selexo Script Writing
Started by A630Lover Feature Requests
Started by dsvilko Script Writing
Started by wowsers51 Creative Uses of CHDK
Started by Bernd R General Discussion and Assistance