--[[ @title burst intervall @param a number of pics @default a 10 ]] if get_drive_mode() ~= 1 then print("No continuous mode!!!") sleep(2000) exit_alt() sleep(2000) end print("test shooting") shoot() pics = get_exp_count() print("pic count before:", pics) print("start intervall") sleep(2000) press("shoot_half") repeat sleep(1) until get_shooting() == true release("shoot_half") repeat sleep(1) until get_shooting() ~= true set_aflock(1) time_start = get_tick_count() press("shoot_half") press("shoot_full") while get_exp_count() - pics < a do sleep(1) end release("shoot_full") release("shoot_half") time_end = get_tick_count() time_pic = (time_end - time_start) / a print("pic count new:", get_exp_count()) print("time/pic =", time_pic, "ms") set_aflock(0)