Jens Diemer
|
2f4adfcace
|
Add support for unPhone 9 (#74)
https://unphone.net/
What worked:
- hx8357d Display and XPT2046 touch screen works
- Turn display backlight on/off via TCA9555 chip
- Buttons
TODOs:
- Use LEDs
- LoRa
- IR
`.../lib/drivers/display/hx8357d/` is a not modified copy from
https://github.com/lvgl-micropython/lvgl_micropython/tree/main/api_drivers/common_api_drivers/display/hx8357d
`.../lib/drivers/indev/xpt2046.py` based on
https://github.com/lvgl-micropython/lvgl_micropython/blob/main/api_drivers/common_api_drivers/indev/xpt2046.py
but is modified: Because of the shared SPI bus for SPI for hx8357d display and xpt2046 touch
controller. For this i add the management of `CS` pins for reading the touch controller.
Let's discuss how to add this to upstream in
https://github.com/lvgl-micropython/lvgl_micropython/issues/536
|
2026-03-11 12:38:52 +01:00 |
|