Awesome, that sounds promising I'll give it a try! I haven't written any CHDK scripts yet, but have done some programming before so I will give it a go. I'll let you know if I hit a roadblock.
--[[@title Fast Sync@param n number of shots@default n 50@param d start delay seconds@default d 1 --]] set_console_layout(10, 0, 40, 14)print("Fast Sync Started...") -- programmable delay to let you get in the picture toosleep(d) -- lock in the exposure and focuspress("shoot_half")repeat sleep(50)until get_shooting() == trueset_aflock(1) set_config_value(121,1) -- make sure USB remote is enabled -- fire away as fast as possiblefor i=1, n, 1 do ecnt=get_exp_count() repeat sleep(10) until get_usb_power(1) == 1 press("shoot_full_only") repeat sleep(20) until(get_exp_count()~=ecnt) release("shoot_full_only")end -- doneset_aflock(0)print("...done")
Just my two cents, but it seems like "hold half press and do synced full presses" is a use case that should be supported,
as is starting a shot in script and have the actual exposure timing controlled by the remote also seems worthwhile, and shouldn't need to depend on force_usb_state().
activate_sync(0/1)shoot()
Options 1 & 2 would work with a simple USB remote switch or uController. Options 3&4 would need a uController.
I can see a way to clean the current code up a bit and make this work if we add a script function to enable the sync trap for the next shot. Something like Code: [Select]activate_sync(0/1)shoot()where 1 = activate and 0 = cancel activation.
Started by Anaglyphic Hotwire! Hardware Mods, Accessories and Insights
Started by Blooper « 1 2 » Creative Uses of CHDK
Started by Alarik « 1 2 ... 12 13 » General Discussion and Assistance
Started by David Ripple « 1 2 ... 6 7 » General Discussion and Assistance
Started by colombo11 « 1 2 3 4 » General Discussion and Assistance