diff --git a/examples/CustomCharacter/CustomCharacter.ino b/examples/CustomCharacter/CustomCharacter.ino index e70a949..bdac95c 100644 --- a/examples/CustomCharacter/CustomCharacter.ino +++ b/examples/CustomCharacter/CustomCharacter.ino @@ -21,12 +21,12 @@ * ends to +5V and ground * wiper to LCD VO pin (pin 3) * 10K poterntiometer on pin A0 - + created 21 Mar 2011 by Tom Igoe modified 11 Nov 2013 by Scott Fitzgerald - + Based on Adafruit's example at https://github.com/adafruit/SPI_VFD/blob/master/examples/createChar/createChar.pde @@ -101,9 +101,9 @@ byte armsUp[8] = { }; void setup() { - // initialize LCD and set up the number of columns and rows: + // initialize LCD and set up the number of columns and rows: lcd.begin(16, 2); - + // create a new character lcd.createChar(0, heart); // create a new character @@ -116,7 +116,7 @@ void setup() { lcd.createChar(4, armsUp); // Print a message to the lcd. - lcd.print("I "); + lcd.print("I "); lcd.write(byte(0)); // when calling lcd.write() '0' must be cast as a byte lcd.print(" Arduino! "); lcd.write((byte) 1); diff --git a/examples/SerialDisplay/SerialDisplay.ino b/examples/SerialDisplay/SerialDisplay.ino index ec46ff0..578e11e 100644 --- a/examples/SerialDisplay/SerialDisplay.ino +++ b/examples/SerialDisplay/SerialDisplay.ino @@ -48,8 +48,7 @@ void setup() { Serial.begin(9600); } -void loop() -{ +void loop() { // when characters arrive over the serial port... if (Serial.available()) { // wait a bit for the entire message to arrive