Search found 1 match

by whiterabbit
Fri Apr 09, 2021 4:53 pm
Forum: ESP8266 boards
Topic: LCD 1602 - Library
Replies: 57
Views: 103750

Re: LCD 1602 - Library

from time import sleep_ms, ticks_ms from machine import I2C, Pin from esp8266_i2c_lcd import I2cLcd i2c = I2C(scl=Pin(5), sda=Pin(4), freq=400000) lcd = I2cLcd(i2c, 0x27, 2, 16) lcd.putstr("Hello ernitron\nIt's working!") lcd.clear() lcd.putstr("Using dhylands\npython_lcd") lcd = I2cLcd(i2c, 0x27, ...