from machine import I2C, Pin from esp8266_i2c_lcd import I2cLcd _init() DEFAULT_I2C_ADDR = 0x3F # Или 0x27 в зависимости от модели микросхемы на плате i2c = I2C(scl=Pin(5), sda=Pin(4), freq=400000) lcd = I2cLcd(i2c, DEFAULT_I2C_ADDR, 2, 16) lcd.backlight_on() char1 = [ 0b00000, 0b00000, 0b01010, 0b01010, 0b00000, 0b10001, 0b01110, 0b00000 ] char2 = [ 0b10101, 0b10101, 0b10101, 0b01110, 0b10101, 0b10101, 0b10101, 0b00000 ] lcd.custom_char(0, char1) lcd.custom_char(1, char2) lcd.move_to(0,0) lcd.putchar(chr(0)) lcd.putchar(chr(1))