Hello,
I try connect Grove LCD JHD1802 with ESP8266 and use lib : pyb_i2c_grove_rgb_lcd.py. I had change something from pyb to machine but it not posible on Esp8266. May be pyb_i2c_grove_rgb_lcd.py only support RGB Backlight. Please help advise how to control it because my devices not RGB Backlight. Many thanks
Micropython ESP8266 boards and Grove LCD JHD1802 (While on Blue)
-
- Posts: 2
- Joined: Tue Jul 14, 2020 2:14 pm
Re: Micropython ESP8266 boards and Grove LCD JHD1802 (While on Blue)
The first line of pyb_i2c_grove_rgb_lcd.py says:
Is that compatible with a JHD1802 ?
Code: Select all
Implements a SeeedStudio Grove RGB LCD JHD1313M1 HD44780 compatible character LCD connected on I2C.
-
- Posts: 2
- Joined: Tue Jul 14, 2020 2:14 pm
Re: Micropython ESP8266 boards and Grove LCD JHD1802 (While on Blue)
JHD1313M1 is Grove LCD RGB Backlight, im not sure that compatible with a JHD1802 . I hope this topic will many solutions.
I try change some parameter and show error
I try change some parameter and show error
Code: Select all
>>> i2c = I2C(scl=Pin(5), sda=Pin(4), freq=400000)
>>> lcd = I2cLcd(i2c, DEFAULT_LCD_I2C_ADDR, 2, 16, DEFAULT_RGB_I2C_ADDR)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyb_i2c_grove_rgb_lcd.py", line 20, in __init__
File "pyb_i2c_grove_rgb_lcd.py", line 75, in hal_write_command
TypeError: object with buffer protocol required