Define ESP32 Dev Module LED pin

This commit is contained in:
Oleg Kalachev 2024-01-03 16:09:43 +03:00
parent fe7c06666f
commit 2fbebe102e

View File

@ -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);
}