LightningPiggy / lightning-piggy

LILYGO TTGO T5 2.13 and 2.66 inch DEPG ePaper Display
https://www.lightningpiggy.com/
GNU Lesser General Public License v2.1
6 stars 4 forks source link

Rewrite in MicroPython #26

Open ThomasFarstrike opened 3 weeks ago

ThomasFarstrike commented 3 weeks ago

The current codebase is written in C and C++ using the Arduino IDE, which is a bit technical and not as user/developer friendly a using MicroPython.

So we might consider rewriting the project in MicroPython...

ThomasFarstrike commented 3 weeks ago

I'm not very familiar with MicroPython myself, not sure if it has good support for those ePaper displays, websockets, over-the-air updates etc, so perhaps it would be good to do a rough proof-of-concept first to get familiar with it first.

ThomasFarstrike commented 3 weeks ago

It would probably make sense to use a graphics library in combination with MicroPython. LVGL seems to be the most mature, and LVGL 8 or 9 should work with ePaper.

LVGL drivers for ePaper: https://github.com/martinberlin/lvgl_epaper_drivers

ThomasFarstrike commented 3 weeks ago

Would be nice if the code is editable through a web-based MicroPython IDE like https://github.com/vsolina/micropython-web-editor and https://viper-ide.org/

ThomasFarstrike commented 1 week ago

Info on and advantages of MicroPython and LVGL: https://docs.lvgl.io/master/integration/bindings/micropython.html

Advantages of using LVGL in MicroPython: