-
Notifications
You must be signed in to change notification settings - Fork 40
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
HD44780 backlight problem #46
Comments
You could try replacing the following line with the Extended device creation format farther below.
The Extended initialization format allows defining the specific pin that controls the backlight as well as the polarity of the backlight pin. The sample below is from the bottom of the HD44780 Usage section, right above Notes. You'll likely need to adjust the pin assignments to match your device.
Also, it would helpful to identify the exact make and model of the display you're using so someone could possibly review the spec sheet for it. Or just post a link to it. There are hundreds of LCD products that use the HD44780 controller and the Notes state this code was tested on just a few devices. |
The following code was working with my display on arduino.
When i see it right in the hwio code, the profile hd44780.PROFILE_PCF8574 is exactly the right one for my display. So the test with NewHD44780Extended will gave the same result. Am i right? Another example. With the embd library my display is working correct
My display is this one https://de.aliexpress.com/item/1602-16x2-HD44780-Character-LCD-w-IIC-I2C-Serial-Interface-Adapter-Module/32546958584.html?spm=2114.13010608.0.0.g9VSGX |
I got the following code:
Data is comming to the display, but the backlight only turns on, while the data is written to display. Some milliseconds the display is bright, then it turns off. Then, the second, the code is waiting, display is dark.
I tested my display with arduino code and with python code on raspberry, and i got not this strange behavior. So, what can it be? It must be something in this library wrong for my display.
The text was updated successfully, but these errors were encountered: