Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <wire.h>
- #include <liquidcrystal_i2c_gy.h>
- LiquidCrystal_I2C_GY lcd(0x20,20,4); // set the LCD address to 0x20 or 0x38 for a 20 chars and 4 line display
- void setup()
- {
- lcd.init(); // initialize the lcd
- // Print a message to the LCD.
- lcd.backlight();
- lcd.print("Hello, world!");
- }
- void loop()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement