Skip to content

Commit 62c0f0f

Browse files
agdlcmaglie
authored andcommitted
USe LED_BUILTIN in BlinkWithoutDelay
1 parent e00e7bc commit 62c0f0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
by Paul Stoffregen
1616
modified 11 Nov 2013
1717
by Scott Fitzgerald
18+
modified 9 Jan 2017
19+
by Arturo Guadalupi
1820
1921
2022
This example code is in the public domain.
@@ -23,7 +25,7 @@
2325
*/
2426

2527
// constants won't change. Used here to set a pin number :
26-
const int ledPin = 13; // the number of the LED pin
28+
const int ledPin = LED_BUILTIN;// the number of the LED pin
2729

2830
// Variables will change :
2931
int ledState = LOW; // ledState used to set the LED

0 commit comments

Comments
 (0)