Created
September 13, 2015 18:23
-
-
Save michaelsarduino/2261b0d1ca1a31b500d8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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