It works thanks
Inviato dal mio CLT-L09 utilizzando Tapatalk
Search found 7 matches
- Sun Feb 23, 2020 1:10 pm
- Forum: ESP32 boards
- Topic: 16x2 LCD
- Replies: 20
- Views: 12995
- Sat Feb 22, 2020 5:02 am
- Forum: ESP32 boards
- Topic: 16x2 LCD
- Replies: 20
- Views: 12995
Re: 16x2 LCD
Please note, most I2C LCD1602 module use 5V, but ESP32/STM32 use 3.3V, and I2C will not work in this case. Fortunately, I2C LCD1602 module may work under 3.3V, but contrast needs to be adjusted with a potentiometer. Or you need a level conversion board for I2C signal. the link is right because i2c....
- Sat Feb 22, 2020 5:00 am
- Forum: ESP32 boards
- Topic: 16x2 LCD
- Replies: 20
- Views: 12995
Re: 16x2 LCD
i2c.scan() return 39
- Fri Feb 21, 2020 6:58 pm
- Forum: ESP32 boards
- Topic: 16x2 LCD
- Replies: 20
- Views: 12995
Re: 16x2 LCD
I have modify the LCD1602 drive, add autoaddress() function add print() function. =https://github.com/micropython-Chinese-Community/mpy-lib/blob/master/lcd/I2C_LCD1602/demo.gif?raw=true https://github.com/micropython-Chinese-Community/mpy-lib/tree/master/lcd/I2C_LCD1602 from machine import I2C, Pin...
- Fri Feb 21, 2020 5:18 am
- Forum: ESP32 boards
- Topic: 16x2 LCD
- Replies: 20
- Views: 12995
Re: 16x2 LCD
It looks like the example code is wrong. Should be: import mp_i2c_lcd1602 import machine i2c = machine.I2C(scl=22,sda=21) l=mp_i2c_lcd1602.LCD1620(i2c) l.puts('Hello!') import mp_i2c_lcd1602 from machine import I2C, Pin i2c = machine.I2C(scl=Pin(22), sda=Pin(21)) l=mp_i2c_lcd1602.LCD1620(i2c) #Trac...
- Fri Feb 21, 2020 5:04 am
- Forum: ESP32 boards
- Topic: 16x2 LCD
- Replies: 20
- Views: 12995
Re: 16x2 LCD
i2c 22 scl and 21 sda. i have an esp32 devkit v1
Code: Select all
import mp_i2c_lcd1602 #this works
l=mp_i2c_lcd1602.LCD1602() #this gives me the error I was telling you about
l.puts('Hello!')
- Thu Feb 20, 2020 9:39 pm
- Forum: ESP32 boards
- Topic: 16x2 LCD
- Replies: 20
- Views: 12995
Re: 16x2 LCD
You may try I2C LCD1602 drive below: https://github.com/micropython-Chinese-Community/mpy-lib/tree/master/lcd/I2C_LCD1602 Thanks! That class worked beautifully. As for the display not working, TIL what a potentiometer is ;) I have tried it too but it gives me this error: Traceback (most recent call...