aboutsummaryrefslogtreecommitdiff
path: root/examples/Blink
diff options
context:
space:
mode:
authorSudar <sudar@sudarmuthu.com>2015-03-28 19:37:49 +0530
committerSudar <sudar@sudarmuthu.com>2015-03-28 19:37:49 +0530
commit6f326e6e2625fb66f77891117647b37144e97714 (patch)
treeccc5bd61562a6961ab95eb2aaefc5207a4fde855 /examples/Blink
parentd9176a0a64054b5d12a5d625c6b386bf3840a68f (diff)
Whitespace fixes in examples
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
-