Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Wire.h>
- #include <LiquidCrystal_I2C.h>
- // Object creation.
- LiquidCrystal_I2C lcd(0x27,20,4); // LCD class.
- void setup(){
- lcd.init();
- lcd.backlight();
- lcd.clear();
- // 1
- //01234567890123456789
- lcd.setCursor(0,0); lcd.print("Line 1");
- lcd.setCursor(0,1); lcd.print("Line 2");
- lcd.setCursor(0,2); lcd.print("Line 3");
- lcd.setCursor(0,3); lcd.print("Line 4");
- }
- void loop(void){
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement