Advertisement
microrobotics

Untitled

Jul 14th, 2021
1,063
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <wire.h>
  2. #include <liquidcrystal_i2c.h>
  3.  
  4. // Set the LCD address to 0x3F for a 16 chars and 2 line display
  5. LiquidCrystal_I2C lcd(0x3F, 16, 2);
  6.  
  7. void setup()
  8. {
  9.     lcd.begin();    // initialize the LCD
  10.     lcd.backlight(); // Turn backlight ON
  11.     lcd.print("Hello, world!");
  12. }
  13. void loop()
  14. {
  15.     // Do nothing here...
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement