from machine import Pin, I2C
from machine_i2c_lcd import I2cLcd
import time
# Initialize I2C on ESP32 (SDA=21, SCL=22)
i2c = I2C(0, sda=Pin(21), scl=Pin(22), freq=400000)
# 0x27 is the most common I2C address for 16x2 LCDs
lcd = I2cLcd(i2c, 0x27, 2, 16)
lcd.putstr(" Project D Ready")
time.sleep(2)
lcd.clear()
lcd.putstr("Status: Safe")