aboutsummaryrefslogtreecommitdiff
path: root/examples/Blink
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Blink')
-rw-r--r--examples/Blink/Blink.ino15
-rw-r--r--examples/Blink/Makefile4
2 files changed, 9 insertions, 10 deletions
diff --git a/examples/Blink/Blink.ino b/examples/Blink/Blink.ino
index 1953c39..6a8ba71 100644
--- a/examples/Blink/Blink.ino
+++ b/examples/Blink/Blink.ino
@@ -1,19 +1,18 @@
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
-
This example code is in the public domain.
*/
void setup() {
- // initialize the digital pin as an output.
- // Pin 13 has an LED connected on most Arduino boards:
- pinMode(13, OUTPUT);
+ // initialize the digital pin as an output.
+ // Pin 13 has an LED connected on most Arduino boards:
+ pinMode(13, OUTPUT);
}
void loop() {
- digitalWrite(13, HIGH); // set the LED on
- delay(1000); // wait for a second
- digitalWrite(13, LOW); // set the LED off
- delay(1000); // wait for a second
+ digitalWrite(13, HIGH); // set the LED on
+ delay(1000); // wait for a second
+ digitalWrite(13, LOW); // set the LED off
+ delay(1000); // wait for a second
}
diff --git a/examples/Blink/Makefile b/examples/Blink/Makefile
index 7678e9b..f9d5cf4 100644
--- a/examples/Blink/Makefile
+++ b/examples/Blink/Makefile
@@ -1,5 +1,5 @@
+# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile
+
BOARD_TAG = uno
-ARDUINO_LIBS =
include ../../Arduino.mk
-