turn of BUILTIN LED after blinking

pull/245/head
alanbjohnston 3 years ago committed by GitHub
parent e76da41908
commit 9c09a01cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3408,6 +3408,8 @@ void process_pushbutton() {
if (new_mode != mode) if (new_mode != mode)
transmit_off(); transmit_off();
sleep(2.0); sleep(2.0);
digitalWrite(LED_BUILTIN, LOW); // make sure built-in LED is off
} }
void process_bootsel() { void process_bootsel() {
@ -3505,6 +3507,8 @@ void process_bootsel() {
if (new_mode != mode) if (new_mode != mode)
transmit_off(); transmit_off();
// sleep(2.0); // sleep(2.0);
digitalWrite(LED_BUILTIN, LOW); // make sure built-in LED is off
} }
void blinkTimes(int blinks) { void blinkTimes(int blinks) {

Loading…
Cancel
Save

Powered by TurnKey Linux.