File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 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
103103void 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 );
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments