Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created January 23, 2020 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/db13d4132cd6e2aa24e71744f13f5f41 to your computer and use it in GitHub Desktop.
Save parzibyte/db13d4132cd6e2aa24e71744f13f5f41 to your computer and use it in GitHub Desktop.
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
byte smiley[8] = {
B00000,
B10001,
B00000,
B00000,
B10001,
B01110,
B00000,
};
void setup() {
lcd.createChar(0, smiley);
lcd.begin(16, 2);
lcd.write(byte(0));
}
void loop() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment