peterhinch / micropython-tft-gui

Simple GUI for Pyboard and TFT touch panel displays
MIT License
88 stars 12 forks source link

tft-gui ESP32 compatibility #2

Open Flaming-crossbow opened 3 years ago

Flaming-crossbow commented 3 years ago

Hello mr.hinch how did you become so good? I just started learning python and when i have an idea and google it, and 9/10 times i end up on your github.

Anyway i have been using your micropython_IR and the great nano-gui for a while and now stumbled upon the tft-gui. As the title suggests, is the tft-gui portable to ESP32? Are there library dependencies or hardware issues that could make it too challenging for beginners?

peterhinch commented 3 years ago

Assuming you mean this library it is not portable for a number of reasons. It uses a number of advanced techniques for the highest possible performance.

If you want a touch interface for large displays, I recommend the RA8875 gui. While I haven't tested with ESP32 it should work. If you don't need touch and can use a small display the nano-gui has been extensively tested on ESP32.

It should be noted that ESP32 is significantly slower than Pyboards. In my testing of nano-gui, on a Pyboard (1.1 or D) a screen refresh is almost instantaneous. On ESP32, while usable, it is visibly slow.