esp8266_i2c_lcd.py import error

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
mmcsweeney
Posts: 1
Joined: Sun Sep 17, 2017 2:02 pm

esp8266_i2c_lcd.py import error

Post by mmcsweeney » Sun Sep 17, 2017 8:13 pm

Hi there everyone,

Let me start by saying my Python is not great so excuse any obvious oversights on my part.

I'm trying to get a 1602 lcd working with my esp8266 using Dave Hylands esp8266_i2c_lcd module.
I've built Micropython to include esp8266_i2c_lcd.py and then copied over lcd_api.py to the root directory of the esp8266.

if I try to run 'from esp8266_i2c_lcd import I2cLcd' I get the below error. Is anyone able to point me in the right direction?

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name I2cLcd

Post Reply