158
C H A P T E R 5
Scripting
if met then
local next_event =
start met
for k=1, n, 1 do
if sleep_until(next_event)
then
print "Aborted"
next_event = nil
break
end
shoot()
h, m, s, t = tohms(
next_event-start_ticks)
print(string.format(
"Frame %u, MET %u:%u:%u.%u",
frame, h, m, s, t))
frame = frame + 1
if n > 2 then
next_event = next
idiv((n-k-1)*i1 +(k-1)*i2,
n-2)
else
next_event = next i1
end
end
if not next_event then
break
end
end
end
io.close(file)
-- restore display mode
set_display_mode(old_display_mode)
-- restore
AF lock mode
set_aflock(0)
end
Содержание Camera
Страница 1: ......
Страница 2: ...The Canon Camera Hackers Manual ...
Страница 3: ......
Страница 4: ...Berthold Daum The Canon Camera Hackers Manual Teach Your Camera New Tricks ...
Страница 19: ...10 CH APTER 2 Cameras and Operating Systems ...
Страница 25: ...16 CH APTER 3 ...
Страница 85: ...76 CH APTER 4 Teach Your Camera New Tricks ...
Страница 213: ...204 CH APTER 6 ...
Страница 253: ...244 AP PENDIX ...