Turning the flash off on a495

  • 1 Replies
  • 585 Views
Turning the flash off on a495
« on: 27 / May / 2013, 15:26:52 »
Advertisements
Im pretty new at this but have managed to create a pretty good script for my camera. I have one remaining issue that nothing I do seems to fix. I want to turn off the flash and leave it off.
I've tried;

click "flash"
click "flash"
and;
click "flash"
click "right"
and
set_prop 16 2

But none of that turns it off. Does someone  out there in the CHDK-vese know how to do this?
thanks in advance
--Keith

Re: Turning the flash off on a495
« Reply #1 on: 27 / May / 2013, 15:42:00 »
I want to turn off the flash and leave it off.
..
set_prop 16 2
The A495 is a propset 3 camera,  so the correct way to do this is
Code: [Select]
set_prop 143 2Also,  the "flash" key is not defined for the a495 (in platform/a495/kbd.c) so doing a
Code: [Select]
click "flash" will do nothing.

However,
Code: [Select]
click "right"
click "right"
click "set"
should work.   

Note: if the propset doesn't work (I can't test as I don't have your camera) you could get fancy and loop doing the right clicks until get_prop 143 is the value you want.
« Last Edit: 27 / May / 2013, 15:55:41 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics