From 62c0f0f79f7a33ad089c03661360cd442c440dc1 Mon Sep 17 00:00:00 2001 From: agdl Date: Mon, 9 Jan 2017 11:45:45 +0100 Subject: [PATCH] USe LED_BUILTIN in BlinkWithoutDelay --- .../02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino b/build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino index ca4ac95fa..f6a6b9b26 100644 --- a/build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino +++ b/build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino @@ -15,6 +15,8 @@ by Paul Stoffregen modified 11 Nov 2013 by Scott Fitzgerald + modified 9 Jan 2017 + by Arturo Guadalupi This example code is in the public domain. @@ -23,7 +25,7 @@ */ // constants won't change. Used here to set a pin number : -const int ledPin = 13; // the number of the LED pin +const int ledPin = LED_BUILTIN;// the number of the LED pin // Variables will change : int ledState = LOW; // ledState used to set the LED