Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 LCD2004 - write works, set_cursor doesn't #1

Open
gregkerr opened this issue Jul 28, 2020 · 1 comment
Open

ESP32 LCD2004 - write works, set_cursor doesn't #1

gregkerr opened this issue Jul 28, 2020 · 1 comment

Comments

@gregkerr
Copy link

This is connected to an LCD2004 display on ESP32. Library looks great, and write() works just fine, but using set_cursor does not (or I'm using it wrong (e.g. - set_cursor( 1, 1)). Using set_cursor() just produces 6-7 garbage characters in the upper left hand corner of the screen. Simple repro code:

i2c = I2C(-1, sda=Pin(21), scl=Pin(22))
lcd = LCD_I2C(i2c, i2c.scan()[0], 20, 4)
lcd.set_cursor(1, 1)
lcd.write("STS-126")

@HexVitor
Copy link
Owner

Hi @gregkerr, thanks for the feedback. Unfortunately I still don't have a 20x04 module to test corrections, but I'm thinking about how I can fix the error without it. I apologize for the late return.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants