From 6f326e6e2625fb66f77891117647b37144e97714 Mon Sep 17 00:00:00 2001 From: Sudar Date: Sat, 28 Mar 2015 19:37:49 +0530 Subject: [PATCH] Whitespace fixes in examples --- examples/Blink/Blink.ino | 15 +++++++-------- examples/Blink/Makefile | 4 ++-- examples/BlinkNetworkRPi/ATtinyBlink.ino | 8 ++++---- 3 files changed, 13 insertions(+), 14 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 - diff --git a/examples/BlinkNetworkRPi/ATtinyBlink.ino b/examples/BlinkNetworkRPi/ATtinyBlink.ino index 1d1566d..6e3c27d 100644 --- a/examples/BlinkNetworkRPi/ATtinyBlink.ino +++ b/examples/BlinkNetworkRPi/ATtinyBlink.ino @@ -1,17 +1,17 @@ /* Blink Turns on an LED on for one second, then off for one second, repeatedly. - + This example code is in the public domain. */ - + // Connect a LED to Pin 3. It might be different in different ATtiny micro controllers int led = 3; // the setup routine runs once when you press reset: -void setup() { +void setup() { // initialize the digital pin as an output. - pinMode(led, OUTPUT); + pinMode(led, OUTPUT); } // the loop routine runs over and over again forever: