Commit 48726d31 authored by Arturo Guadalupi's avatar Arturo Guadalupi Committed by GitHub
Browse files

Merge pull request #13 from Isaac100/master

Update CustomCharacter.ino
parents 70764b86 807b7b93
...@@ -114,12 +114,15 @@ void setup() { ...@@ -114,12 +114,15 @@ void setup() {
lcd.createChar(3, armsDown); lcd.createChar(3, armsDown);
// create a new character // create a new character
lcd.createChar(4, armsUp); lcd.createChar(4, armsUp);
// set the cursor to the top left
lcd.setCursor(0,0);
// Print a message to the lcd. // 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.write(byte(0)); // when calling lcd.write() '0' must be cast as a byte
lcd.print(" Arduino! "); lcd.print(" Arduino! ");
lcd.write((byte) 1); lcd.write((byte)1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment