I just tried it again and it seems to be working now.
Funny how that happens sometimes.
Spoke to soon...
Seems to be flashing again....
New Script (LUA)
--[[
@title Timelapse for Chris
@param s Sleep Duration
@default s 60000
@param e EyeFi Delay
@default e 15000
]]
counter = 0
-- set JPG Quality
set_prop (57,0)
-- stop flash
set_prop(143,2)
-- Wait so flash does gets configured
sleep(1000)
function TakePicture()
press("shoot_half")
repeat sleep(50) until get_shooting() == true
press("shoot_full")
release("shoot_full")
repeat sleep(50) until get_shooting() == false
release "shoot_half"
end
repeat
if (counter > 3) then set_lcd_display(0) end
counter = counter + 1
StartTick = get_tick_count()
TakePicture()
EndTick = get_tick_count()
-- sleep for a period of time so EYEFI can upload image
sleep(e)
-- Delete the image file
for fname in os.idir("A/DCIM/100CANON", false) do
os.remove("A/DCIM/100CANON/"..fname)
end
-- sleep for 60 seconds - the amount of time waiting + camera time
delay = s - (e + (EndTick - StartTick))
-- Minimum sleep of 1 second
if (delay < 1000) then
delay = 1000
end
print ("Capture #",counter," Duration=",EndTick-StartTick)
sleep(delay)
until false
I have just had a thought... It did not seem to flash on the 2nd and subsequent shots so maybe I just need a delay before the first capture.
Seems like the delay helps it... Well I think it is working now
Thanks for your offer to help.