//Compatible with the Arduino IDE 1.0 //Library version:1.1 #include #include LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars and 2 line display void msg() { lcd.setCursor(2,1); lcd.print("you just lost"); lcd.setCursor(10,2); lcd.print("the game."); } void setup() { lcd.init(); lcd.backlight(); } void loop() { lcd.clear(); delay(9500); msg(); delay(500); }