Advertisement
ChaOSzz

Untitled

Jun 11th, 2022
1,082
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <LiquidCrystal.h>
  2.  
  3. LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
  4.  
  5. byte Person[2][8] =
  6. {
  7.   {B01110,
  8.    B01110,
  9.    B00100,
  10.    B01110,
  11.    B10101,
  12.    B00100,
  13.    B01010,
  14.    B01010
  15.   },
  16.   {
  17.     B01110,
  18.     B01110,
  19.     B00100,
  20.     B01110,
  21.     B10100,
  22.     B01100,
  23.     B10010,
  24.     B10001
  25.   }
  26. };
  27.  
  28. void setup()
  29. {
  30.   lcd.createChar(0,Person[0]);
  31.   lcd.begin(16,2);
  32.   lcd.write(byte(0));
  33. }
  34.  
  35. void loop()
  36. {
  37.  
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement