Reading back and printing the status of the flash via get_prop(props.FLASH_MODE) showed: when setting the flash to ON in the camera menu, the flash is also on (value 1) in the property. Setting the flash to OFF in the original camera menu, the flash prop is set to 2 as expected (meaning: off).Writing to props.FLASH_MODE via set_prop() sets the value as expected (as reading back shows),
but it has no effect on camera behavior:
con 22> reccon 1> shoot
con 2> =set_prop(require'propcase'.FLASH_MODE,1)con 3> shoot
con 4> =set_prop(require'propcase'.FLASH_MODE,2)con 5> shoot
By the way... is there a requirement, when props.FLASH_MODE should be written?I'm currently doing this after switch_recmode(1) and press("shoot_half").
Quote from: reyalp on 22 / June / 2022, 00:10:21Are you certain that the USB power is actually switching in this case? If you turn on "Show Misc. Values" under Miscellaneous Settings -> Debug, the item labeled USB will show the USB power state.There is no way to tell, since the camera goes into an endless picture-taking loop that can only be stopped by powering off. But the USB cable is detached, so physically it should be power state off.
Are you certain that the USB power is actually switching in this case? If you turn on "Show Misc. Values" under Miscellaneous Settings -> Debug, the item labeled USB will show the USB power state.
shots=0repeat if (get_usb_power(1)==1) then shots = shots + 1 if shots > 10 then error("shots > 10") end ... (normal usb power on case goes here) else shots = 0 end...
Started by LukeSkaff
DSLR Hack development
Started by bondaree
Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by Aket
« 1 2 ... 21 22 »
Started by waterwingz
Started by davoodt
General Discussion and Assistance