2323 Commits

Author SHA1 Message Date
Thomas Farstrike c673414889 Breakout: support partial buffer rendering 2026-03-11 13:17:50 +01:00
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
Pavel Machek 5ded4b40f6 weather: add forecasts, switch to download manager (#75)
* weather: add forecasts, and summarize them

* weather: Switch to download manager

We had open coded http protocol, this simplifies it and switches to https
2026-03-11 12:36:59 +01:00
Pavel Machek 0ac9d7155e gyro: add gyroscope test/display application (#76)
* iio: switch to maximum sampling frequency, apply mount matrix

* mag: Apply mount matrix for magnetometer, too

* iio: allow separate path for gyro sensor

* gyro: fork from compass, get drawing back to work

* iio: add todo.

* gyro: gyro seems to work way better on pinephone

* iio: move scale conversion where it belongs

* gyro: rely of iio driver providing right scale of values

* iio: Turn down debugging, but I still get framerate drops

* gyro: add reset and calibration support, introduce vectors, display help image
2026-03-11 12:36:00 +01:00
Thomas Farstrike 6d6f96b131 Merge pull request #77 from pavelmachek/m_10_navstar
navstar: Simple navigation application
2026-03-11 12:35:09 +01:00
Thomas Farstrike 983d54f271 Rename mpong to breakout 2026-03-11 11:57:42 +01:00
Thomas Farstrike 3651062c15 Update lvgl_micropython 2026-03-11 11:13:51 +01:00
Thomas Farstrike f75c13ad21 Merge pull request #79 from pavelmachek/m_11_flood
floodit: simple game
2026-03-11 09:36:19 +01:00
Thomas Farstrike 7b3501e7bd Merge pull request #80 from pavelmachek/m_12_cellular
cellular: simple cellular-network example
2026-03-11 09:35:34 +01:00
Thomas Farstrike e9cc9b5cb2 odroid_go.py: fix on_complete argument exception 2026-03-11 08:20:47 +01:00
Thomas Farstrike 4bc88fdae0 lilygo_t_display_s3.py: use full framebuffer 2026-03-10 22:29:40 +01:00
Thomas Farstrike 18271c41e6 Breakout gets great framerate on actual hardware and desktop now 2026-03-10 22:27:30 +01:00
Thomas Farstrike 9bcff52328 breakout/mpong works okay now 2026-03-10 19:00:01 +01:00
Thomas Farstrike a3ad6ac8ab Try render_mode = lv.DISPLAY_RENDER_MODE.FULL
It's sort of okay but there's a skew/italic effect.
2026-03-10 14:50:55 +01:00
Thomas Farstrike d921cb3414 breakout works on esp32 and desktop, albeit only 10FPS 2026-03-09 23:29:30 +01:00
Thomas Farstrike adf0e0143d mpong/breakout: physics time independent 2026-03-09 23:29:06 +01:00
Thomas Farstrike 4d5d556181 breakout works fine on device (10 fps) 2026-03-09 23:20:12 +01:00
Thomas Farstrike b92f03ffb8 breakout direct framebuffer works with trick 2026-03-09 23:15:24 +01:00
Thomas Farstrike 4d33f8096c Rename mpong to breakout 2026-03-09 23:14:25 +01:00
Thomas Farstrike a6830ef23e ImageView: comments 2026-03-09 23:13:37 +01:00
Thomas Farstrike 4f2324cbb3 update mpong 2026-03-09 22:01:09 +01:00
Thomas Farstrike ae7627a0ab FPS logging etc 2026-03-09 21:25:49 +01:00
Thomas Farstrike 5de7b30a12 mpong: framerate logging, button handling 2026-03-09 21:08:36 +01:00
Thomas Farstrike 9c859bdfe9 mpong: handle swipes 2026-03-09 19:09:34 +01:00
Thomas Farstrike 6f65e6c52d Turn mpong into Breakout clone 2026-03-09 19:00:07 +01:00