Skip to content

Commit f97b53d

Browse files
committed
Default for LED_BUILTIN
1 parent c2b9c2e commit f97b53d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

libraries/Ticker/examples/TickerBasic/TickerBasic.ino

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

1515
#include <Ticker.h>
1616

17+
#ifndef LED_BUILTIN
18+
#define LED_BUILTIN 13
19+
#endif
20+
1721
Ticker flipper;
1822

1923
int count = 0;

libraries/Ticker/examples/TickerParameter/TickerParameter.ino

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

1414
#include <Ticker.h>
1515

16+
#ifndef LED_BUILTIN
17+
#define LED_BUILTIN 13
18+
#endif
19+
1620
Ticker tickerSetHigh;
1721
Ticker tickerSetLow;
1822

0 commit comments

Comments
 (0)