TFT_eSPI Support proof of concept #74
Greeniac
started this conversation in
Show and tell
Replies: 2 comments
-
Nice! Thank you for your contribution. I just need to figure out how to manage images and fonts for that library. Will keep you informed about progress. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey, we have a PR ready to review, sorry for delay 🫠 You can check how it works here https://tft-espi-platform.lopaka-dev.pages.dev/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i was able to make a proof of concept for TFT_eSPI support, even though that this is the first time programming in java script and with zero knowledge of how to use it, i was able to make it work, well reduce your expectations because its basically a copy of the u8g2 support but edited slightly to be used with TFT_eSPI, most of the tools work like (box, frame, dot, etc.) but you can't pick the color in the editor you have to change "TFT_WHITE" with the color you want in the output code, the "String" tool doesnt work at all, because it involves more coding than i can in JS, the bitmap works but its not transparent so it will just fill the background with black, but other than that, it does work fine.
in order to use it, you have to replace /src/platforms/u8g2.ts with the following:
Beta Was this translation helpful? Give feedback.
All reactions