From 597508ca072a97bbe13cac20066ca13ca9ac356f Mon Sep 17 00:00:00 2001 From: mm Date: Tue, 17 Oct 2023 03:47:46 +0000 Subject: [PATCH] change alignment --- LostGame/lost-game.ino | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/LostGame/lost-game.ino b/LostGame/lost-game.ino index 23b8598..5996fa0 100644 --- a/LostGame/lost-game.ino +++ b/LostGame/lost-game.ino @@ -1,4 +1,3 @@ -//YWROBOT //Compatible with the Arduino IDE 1.0 //Library version:1.1 #include @@ -8,23 +7,22 @@ LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 16 chars void msg() { - lcd.setCursor(0,0); + lcd.setCursor(2,1); lcd.print("you just lost"); - lcd.setCursor(8,1); + lcd.setCursor(10,2); lcd.print("the game."); } void setup() { - lcd.init(); // initialize the lcd - // Print a message to the LCD. + lcd.init(); lcd.backlight(); } void loop() { lcd.clear(); - delay(9000); + delay(9500); msg(); delay(500); }