Skip to content

Commit 0a3d995

Browse files
committed
Add LED_BUILTIN definition
1 parent 2f902df commit 0a3d995

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/timedBlink/timedBlink.ino

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
#include <Arduino_TimedAttempt.h>
1212

13+
#if !defined(LED_BUILTIN) && !defined(ARDUINO_NANO_ESP32)
14+
static int const LED_BUILTIN = 2;
15+
#endif
16+
1317
TimedAttempt blink(500, 1000);
1418

1519
void setup() {

0 commit comments

Comments
 (0)