ESP32 DEFINE LED_BUILTIN

This commit is contained in:
tablatronix
2019-07-29 16:33:59 -05:00
parent 41810a344a
commit e2d7ae7533
@@ -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()
{