// Wokwi can use the Serial Monitor for the Pico in two ways.
// As "Serial", over the USB bus.
// As "Serial1", more direct.
// To avoid any possible problem, this is with Serial1.
#include <LiquidCrystal_I2C.h>
#define I2C_ADDR 0x27
#define LCD_COLUMNS 20
#define LCD_LINES 4
LiquidCrystal_I2C lcd(I2C_ADDR, LCD_COLUMNS, LCD_LINES);
void setup()
{
Serial1.begin(115200);
Serial1.println("Started");
lcd.init();
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("Follow KISS rule");
}
void loop()
{
lcd.setCursor(0,1);
lcd.print(millis());
delay(250);
}