How to Use an I2C LCD Display With Raspberry Pi Pico

Status
Not open for further replies.
Hi Tom. Nice tutorial. Works well with the change below.

I think line 3 should read:

from pico_i2c_lcd import I2cLcd

Not:

from machine_i2c_lcd import I2cLcd
 
hello guys
when i use lcd i2c with Raspberry Pi pico this error show for me!

line 5 in my code : I2C_ADDR = i2c.scan()[0]


MicroPython v1.16 on 2021-06-18; Raspberry Pi Pico with RP2040

Type "help()" for more information.
>> %Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "<stdin>", line 5, in <module>
IndexError: list index out of range
 
Status
Not open for further replies.