Waveshare 1.44 inch LCD display HAT #303
Replies: 8 comments 7 replies
-
Great, I'll integrate this as soon as possible.
|
Beta Was this translation helpful? Give feedback.
-
Am I right, backlight is pin 24 = GPIO8 (CE0)? |
Beta Was this translation helpful? Give feedback.
-
tested it. The "ST7735 WAVESHARE LCD display HAT" didn't work. Maybe the spaces have something to do with? BTW,
|
Beta Was this translation helpful? Give feedback.
-
I forget the "BGR" parameter:
|
Beta Was this translation helpful? Give feedback.
-
I fixed this. I removed "width=128, height=128", it is set now by |
Beta Was this translation helpful? Give feedback.
-
Can you figure out the problem?
|
Beta Was this translation helpful? Give feedback.
-
Offset can be configured in settings now. My display seems not to support this. Does it work for you? |
Beta Was this translation helpful? Give feedback.
-
Please test again, I merged a huge part of code and hope, nothing is
broken now... If it's still o.k., I would close this. Thank you!
|
Beta Was this translation helpful? Give feedback.
-
I hate soldering, so that the ready-made HAT is a good choice for me.
https://www.waveshare.com/1.44inch-lcd-hat.htm
The driver IC is supported by luma.lcd, so it can be done by adding some code. However, it still took me a while to make it work, given the fact that I don't program in python.
The modification to display.py
Surely you will need to modify "setup.php" to make st7735 available, as well as 128 vertical resolution. It's better to have DC, RST, and BL pin as options, but hard-coding is easier for me.
In setup page, choose SPI and port 0.
According to the document, the pins of joystick matches button menu configuration #3. However, the configuration seems to have joystick on the left-hand side, which might need to rotate the display. Therefore, I add custom configurations in /var/www/little-backup-box/media/buttons.private.cfg
So, by choosing "c1", the joystick is left-hand sided. I prefer using the other buttons for "enter" and "exit" instead of "right" and "left". The "c2" configuration will do so.
Just ask if more information is needed.
Beta Was this translation helpful? Give feedback.
All reactions