Skip to content

Commit 4ed6191

Browse files
author
Federico Fissore
committed
Examples: mass code format. See example_formatter.conf
1 parent e002084 commit 4ed6191

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

examples/CustomCharacter/CustomCharacter.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
* ends to +5V and ground
2222
* wiper to LCD VO pin (pin 3)
2323
* 10K poterntiometer on pin A0
24-
24+
2525
created 21 Mar 2011
2626
by Tom Igoe
2727
modified 11 Nov 2013
2828
by Scott Fitzgerald
29-
29+
3030
Based on Adafruit's example at
3131
https://github.com/adafruit/SPI_VFD/blob/master/examples/createChar/createChar.pde
3232
@@ -101,9 +101,9 @@ byte armsUp[8] = {
101101
};
102102

103103
void setup() {
104-
// initialize LCD and set up the number of columns and rows:
104+
// initialize LCD and set up the number of columns and rows:
105105
lcd.begin(16, 2);
106-
106+
107107
// create a new character
108108
lcd.createChar(0, heart);
109109
// create a new character
@@ -116,7 +116,7 @@ void setup() {
116116
lcd.createChar(4, armsUp);
117117

118118
// Print a message to the lcd.
119-
lcd.print("I ");
119+
lcd.print("I ");
120120
lcd.write(byte(0)); // when calling lcd.write() '0' must be cast as a byte
121121
lcd.print(" Arduino! ");
122122
lcd.write((byte) 1);

examples/SerialDisplay/SerialDisplay.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ void setup() {
4848
Serial.begin(9600);
4949
}
5050

51-
void loop()
52-
{
51+
void loop() {
5352
// when characters arrive over the serial port...
5453
if (Serial.available()) {
5554
// wait a bit for the entire message to arrive

0 commit comments

Comments
 (0)