Skip to content

Commit 6d7fd7c

Browse files
committed
turn off LED after taking photo
1 parent b906257 commit 6d7fd7c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

TaskCam_Arduino.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ void capturePicture() {
344344
camSerial.write(0x0A);
345345
delay(1400);
346346

347+
analogWrite(LED, 0);
348+
347349
// Wait for saving to complete
348350
display.clearDisplay();
349351
drawSaving();

0 commit comments

Comments
 (0)