We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f533d3e commit 3620625Copy full SHA for 3620625
src/main.ino
@@ -539,10 +539,9 @@ void do_trial( size_t trial_num, bool isprobe = false )
539
while( (millis( ) - stamp_) <= duration )
540
{
541
write_data_line( );
542
- // Switch camera OFF after 500 ms into POST.
543
- if( (millis() - stamp_) >= 500 )
+ // Switch camera OFF after 2500 ms into POST.
+ if( (millis() - stamp_) >= 2500 )
544
digitalWrite( CAMERA_TTL_PIN, LOW );
545
- delay(50);
546
}
547
548
digitalWrite( IMAGING_TRIGGER_PIN, LOW ); /* Shut down the imaging. */
0 commit comments