Skip to content

Commit 48726d3

Browse files
authored
Merge pull request #13 from Isaac100/master
Update CustomCharacter.ino
2 parents 70764b8 + 807b7b9 commit 48726d3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/CustomCharacter/CustomCharacter.ino

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,15 @@ void setup() {
114114
lcd.createChar(3, armsDown);
115115
// create a new character
116116
lcd.createChar(4, armsUp);
117-
117+
118+
// set the cursor to the top left
119+
lcd.setCursor(0,0);
120+
118121
// Print a message to the lcd.
119122
lcd.print("I ");
120123
lcd.write(byte(0)); // when calling lcd.write() '0' must be cast as a byte
121124
lcd.print(" Arduino! ");
122-
lcd.write((byte) 1);
125+
lcd.write((byte)1);
123126

124127
}
125128

0 commit comments

Comments
 (0)