mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-14 15:11:32 +10:00
ESP32 DEFINE LED_BUILTIN
This commit is contained in:
@@ -5,7 +5,12 @@
|
||||
//for LED status
|
||||
#include <Ticker.h>
|
||||
Ticker ticker;
|
||||
int LED = BUILTIN_LED;
|
||||
|
||||
#ifndef LED_BUILTIN
|
||||
#define LED_BUILTIN 13 // ESP32 DOES NOT DEFINE LED_BUILTIN
|
||||
#endif
|
||||
|
||||
int LED = LED_BUILTIN;
|
||||
|
||||
void tick()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user