Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <wire.h>
- #include <liquidcrystal_i2c.h>
- // Set the LCD address to 0x3F for a 16 chars and 2 line display
- LiquidCrystal_I2C lcd(0x3F, 16, 2);
- void setup()
- {
- lcd.begin(); // initialize the LCD
- lcd.backlight(); // Turn backlight ON
- lcd.print("Hello, world!");
- }
- void loop()
- {
- // Do nothing here...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement