https://bitbucket.org/daniel_fort/magic-lantern
Revision eca5a302e4ae2cc85faa8e34a2fed5ab4e6ae9a1 authored by Albert Shih on 15 February 2014, 00:56:25 UTC, committed by Albert Shih on 15 February 2014, 00:56:25 UTC
1 parent 02d283f
Raw File
Tip revision: eca5a302e4ae2cc85faa8e34a2fed5ab4e6ae9a1 authored by Albert Shih on 15 February 2014, 00:56:25 UTC
50D: added dummy stubs for sound_recording_enabled functions
Tip revision: eca5a30
wb_shoot.lua
PROP_WB_MODE_LV = 0x80050018
PROP_WB_KELVIN_LV = 0x80050019
PROP_WB_MODE_PH = 0x8000000D
PROP_WB_KELVIN_PH = 0x8000000E

setprop(PROP_WB_MODE_LV,9);
setprop(PROP_WB_MODE_PH,9);

setwb = function(wb)
  setprop(PROP_WB_KELVIN_LV, wb);
  setprop(PROP_WB_KELVIN_PH, wb);
end

for wb = 3000, 6000, 200 do
  setwb(wb)
  cprint("Shooting at "..wb.."K\n")
  shoot(64, false)
  msleep(1000)
end
back to top