I'm tempted to make some changes to the uBASIC documentation, but I have experience with only one camera and am a raw newbie at CHDK. I'd hate to correct something, only to be yelled at for messing up docs that work for everyone else.
Here's my biggest beef:
set_tv96 vs.
get_tv96and all the other, similar commands.
All the docs I've found say that to set the shutter speed to a value of
n Tv96 units, write:
set_tv96 nThat works. The docs also say that to fetch the camera's current shutter speed value, you use the same syntax:
get_tv96 nwill put the Tv96 shutter speed value in variable
n. It never worked that way in the script I was writing when I stumbled over this. I had to change it to:
n = get_tv96That did exactly what the docs said the other syntax would do. As far as the documentation I could find is concerned, get_tv96 n is the standard method, and n = get_tv96 is just a renegade way of bypassing the standard method.
Am I the only one who has has this problem? Do
get_tv96 n and
get_focus n and
get_dof n work for everybody else? If everybody else has the same problem, I'm more-or-less ready to edit some docs. I'm just wary of "correcting" something that worked fine for everybody but me.
Eric