From c3f595b132d5a1b6485716a96e2340d53e4d570f Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 29 May 2016 21:37:19 -0400 Subject: [PATCH] Instead of removing 600 ms from timed exposure Simply remove the part of the exposure that happens while the shutter is opening and closing --- ino/mcopy_camera_tests/mcopy_camera_tests.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ino/mcopy_camera_tests/mcopy_camera_tests.ino b/ino/mcopy_camera_tests/mcopy_camera_tests.ino index 44d60da..2b86014 100644 --- a/ino/mcopy_camera_tests/mcopy_camera_tests.ino +++ b/ino/mcopy_camera_tests/mcopy_camera_tests.ino @@ -10,6 +10,8 @@ GND-----\ | \-----PIN ---------------------------------------------------- */ +const int MOTOR_RPM = 120; +const int BOLEX_C = round((133 / (1.66 * 360)) * 1000); //bolex exposure constant const int FAST_PWM = 255; const int SLOW_PWM = 127; @@ -162,7 +164,7 @@ void timedString () { timed_str = "600"; timed = false; } else { - timed_delay = timed_val - 600; + timed_delay = timed_val - BOLEX_C; timed = true; } Serial.println(cmd_timed);