Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from time import sleep_ms, ticks_ms
- from machine import I2C, Pin
- from esp8266_i2c_lcd import I2cLcd
- print("Running test_main")
- i2c = I2C(scl=Pin(4), sda=Pin(5), freq=400000)
- lcd = I2cLcd(i2c, 63, 2, 16)
- lcd.putstr("It Works!\nSecond Line")
- sleep_ms(3000)
- lcd.clear()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement