1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Run new astyle formatter against all the examples

This commit is contained in:
Federico Fissore
2013-10-21 09:58:40 +02:00
parent 3c6ee46828
commit b4c68b3dff
259 changed files with 5160 additions and 5217 deletions

View File

@ -2,17 +2,17 @@
Multiple Blinks
Demonstrates the use of the Scheduler library for the Arduino Due
Hardware required :
* LEDs connected to pins 11, 12, and 13
created 8 Oct 2012
by Cristian Maglie
Modified by
Modified by
Scott Fitzgerald 19 Oct 2012
This example code is in the public domain
http://arduino.cc/en/Tutorial/MultipleBlinks
*/
@ -64,11 +64,11 @@ void loop2() {
void loop3() {
if (Serial.available()) {
char c = Serial.read();
if (c=='0') {
if (c == '0') {
digitalWrite(led3, LOW);
Serial.println("Led turned off!");
}
if (c=='1') {
if (c == '1') {
digitalWrite(led3, HIGH);
Serial.println("Led turned on!");
}