Skip to content

Instantly share code, notes, and snippets.

@michaelsarduino
Created September 13, 2015 18:23
Show Gist options
  • Save michaelsarduino/2261b0d1ca1a31b500d8 to your computer and use it in GitHub Desktop.
Save michaelsarduino/2261b0d1ca1a31b500d8 to your computer and use it in GitHub Desktop.
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
byte smiley[8] = { B00000,
B01010,
B01010,
B00000,
B10001,
B01110,
B00000, };
void setup() {
lcd.createChar(0, smiley);
lcd.begin(20, 4);
lcd.write(byte(0));
}
void loop() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment