Skip to content

Commit 76285aa

Browse files
agdlcmaglie
authored andcommitted
USe LED_BUILTIN in BlinkWithoutDelay
1 parent fcb5520 commit 76285aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino

Lines changed: 3 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy