Examples: mass code format. See example_formatter.conf

This commit is contained in:
Federico Fissore
2015-07-06 15:18:33 +02:00
parent e1afbd651b
commit 4b93f42f41
2 changed files with 6 additions and 7 deletions

View File

@@ -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);