Commit 807b7b93 authored by Isaac100's avatar Isaac100 Committed by GitHub

Update CustomCharacter.ino

Added lcd.setCursor(0,0); in CustomCharacter.ino example for LCD, it didn't work without it for me. Also removed unnecessary space.
parent 70764b86
......@@ -114,12 +114,15 @@ void setup() {
lcd.createChar(3, armsDown);
// create a new character
lcd.createChar(4, armsUp);
// set the cursor to the top left
lcd.setCursor(0,0);
// Print a message to the lcd.
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);
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