microrobotics

Untitled

Oct 18th, 2021
714
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <wire.h>
  2. #include <liquidcrystal_i2c_gy.h>
  3.  
  4. LiquidCrystal_I2C_GY lcd(0x20,20,4);  // set the LCD address to 0x20 or 0x38 for a 20 chars and 4 line display
  5.  
  6. void setup()
  7. {
  8.   lcd.init();                      // initialize the lcd
  9.  
  10.   // Print a message to the LCD.
  11.   lcd.backlight();
  12.   lcd.print("Hello, world!");
  13. }
  14.  
  15. void loop()
  16. {
  17. }
RAW Paste Data