Help porting TFT_eSPI project to Arduino_GFX #602
Shadowtrance
started this conversation in
General
Replies: 1 comment
-
Ok i think i figured it out. It's booting and loading images with my hacked together "Arduino GFX Button" extension.
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to port a project that uses TFT_eSPI which doesn't support my screen (Neither does LovyanGFX currently). But this lovely library does. JC3248W535EN QSPI...
But I've run into a few things I'm not sure how to change to work with Arduino_GFX regarding the below 2 functions
tft.getSwapBytes()
andtft.setSwapBytes()
... I've looked through the TFT_eSPI code and i still don't know what the hell these do.tft.pushImage
... again not sure on the correct Arduino_GFX function to use in it's place.All related to the bmp images used for the button icons.
These are the last bits of red to fix before i can actually test it. 🤣
Pretty sure the button extension may be broken too because I extracted that from TFT_eSPI and made some "hopefully" working changes. 🤞
And I'm working with this "fork" (that isn't really forked???) version.
https://github.com/andrewfernie/FreeTouchDeckWT32/blob/master/src/ScreenHelper.cpp#L144
https://github.com/andrewfernie/FreeTouchDeckWT32/blob/master/src/ScreenHelper.cpp#L226
Thanks 😊
Beta Was this translation helpful? Give feedback.
All reactions