Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <LiquidCrystal_I2C.h>
- LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x3F for a 16 chars and 2 line display
- void setup() {
- lcd.init();
- lcd.clear();
- lcd.backlight(); // Make sure backlight is on
- // Print a message on both lines of the LCD.
- }
- void loop() {
- lcd.setCursor(0,0);
- lcd.print("Comment est mort");
- lcd.setCursor(0,1);
- lcd.print("le capitaine ");
- delay(2000);
- lcd.clear();
- lcd.setCursor(0,0);
- lcd.print("crochet ?");
- delay(2000);
- lcd.clear();
- delay(1000);
- lcd.setCursor(0,0);
- lcd.print("En se grattant");
- lcd.setCursor(0,1);
- lcd.print("les couilles...");
- delay(5000);
- lcd.clear();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement