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

Characters being deleted when changing backlight? #28

Closed
Faeranne opened this issue Oct 7, 2020 · 5 comments
Closed

Characters being deleted when changing backlight? #28

Faeranne opened this issue Oct 7, 2020 · 5 comments

Comments

@Faeranne
Copy link

Faeranne commented Oct 7, 2020

Getting a weird bug whenever I try to change the backlight over I2C. Any time I do so, the screen will delete a character, usually the last one from the current message, though repeating the change will delete more and more characters. Any idea why this is happening?

@nseidle
Copy link
Member

nseidle commented Oct 7, 2020

Thanks for reporting. Do you have example code that demonstrates the issue so we can reproduce?

@Faeranne
Copy link
Author

Faeranne commented Oct 7, 2020

import qwiic_serlcd
lcd = qwiic_serlcd.QwiicSerlcd()
lcd.begin()
lcd.setContrast(5)
lcd.clearScreen()
lcd.print("Hello World")
lcd.setBacklight(0,0,0)
#'d' should now disappear from 'World'
lcd.setBacklight(100,100,255)
#'l' should now disappear from 'World'

Tested on python3 with Qwiic_SerLCD_Py installed.

@nseidle
Copy link
Member

nseidle commented Oct 7, 2020

Ah, this repo is the firmware that runs on the LCD. I suspect it's python library related. I've moved your issue to that repo.

@nseidle nseidle closed this as completed Oct 7, 2020
@Faeranne
Copy link
Author

Faeranne commented Oct 7, 2020

I've had the same issue with an arduino setup as well... Originally thought it was the arduino library, so I tested it with the above python.

@nseidle
Copy link
Member

nseidle commented Oct 7, 2020

Ok, feel free to post an example problem sketch on the Arduino library. If we pin it down to firmware on the LCD, then... well, I'll move some issues again :)

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