Skip to content

Commit

Permalink
Define ESP32 Dev Module LED pin
Browse files Browse the repository at this point in the history
  • Loading branch information
okalachev committed Jan 3, 2024
1 parent fe7c066 commit 2fbebe1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flix/led.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

#define BLINK_PERIOD 500000

#ifndef LED_BUILTIN
#define LED_BUILTIN 2 // for ESP32 Dev Module
#endif

void setupLED() {
pinMode(LED_BUILTIN, OUTPUT);
}
Expand Down

0 comments on commit 2fbebe1

Please sign in to comment.