I have just setup an old Adafruit RGB 16x2 LCD i2C Display. Was surprised, how easy it was, after installing the needed library. Since the HAT does also have 5 buttons, I wanted to play around with them as well and installed wiringpi for it. I also pressed some of the buttons and after I while, I noticed, that one of the resistor contacts is connecting to the metal of the USB-Ports when pushing buttons. When this happens, the display changed colors.
Now I notice, that no text is displayed on the display anymore when I run the script that was working before. RGB color changes of the background light is still working as expected. But no text at all.
I see a few possibilites for the problem and hope to find some help in finding out what happened.
Maybe some of the ideas make sense, maybe they don't. Any additional idea would be much appreciated, also any hints how I could further debug.
For the sake of completeness – I'm currently running the following script:
Now I notice, that no text is displayed on the display anymore when I run the script that was working before. RGB color changes of the background light is still working as expected. But no text at all.
I see a few possibilites for the problem and hope to find some help in finding out what happened.
- 1. The short circuit with the USB-Port did damage anything?
- 2. The Installation of wiringpi did some changes in ports, therefore the display does not get all data anymore?
Maybe some of the ideas make sense, maybe they don't. Any additional idea would be much appreciated, also any hints how I could further debug.
For the sake of completeness – I'm currently running the following script:
Code:
import boardimport busioimport adafruit_character_lcd.character_lcd_rgb_i2c as character_lcdlcd_columns = 16lcd_rows = 2i2c = busio.I2C(board.SCL, board.SDA)lcd = character_lcd.Character_LCD_RGB_I2C(i2c, lcd_columns, lcd_rows)lcd.color = [100, 0, 0]lcd.message = "Hello Python"
Statistics: Posted by Tetrikus — Mon Nov 04, 2024 3:19 pm