Updated to latest TFT_eSPI Library - Still cant go larger than 320x170. Should be 320x240. #2037
Unanswered
dookie454
asked this question in
Q&A - Sprites
Replies: 2 comments 2 replies
-
You need to re-set your user config file. You overwrote it when you
upgraded.
…On Wed, Sep 21, 2022 at 8:59 PM dookie454 ***@***.***> wrote:
Hello, GREAT library! Been using it for while, no problems with standard
fonts, on two different pages, decided to make a third page and include a
Sprite in my ILI9341_DRIVER 240x320 display. I got my Sprite Graph working
somewhat, but ran into two problems.. Code: sprite.createSprite(320, 170);
1.
I am limited to: 320x170... if I make the 170 any larger and the
entire sprite screen doesn't work, just stays blank with whatever I had one
it from the previous screen. I need 320x240, that should be the size of my
screen. With 170, I get fhe full width but the height is only 60%, the
bottom of the sprite is cut off.
2.
I decided to update to this latest library to see if that would fix
the sprite problem, now I get Errors, these are them:
Error 1: 'class TFT_eSPI' has no member named 'getTouch'. Code: if
(tft.getTouch(&x, &y))
Error 2: 'class TFT_eSPI' has no member named 'calibrateTouch'. Code:
tft.calibrateTouch(calData, TFT_MAGENTA, TFT_BLACK, 15);
Error 3: 'class TFT_eSPI' has no member named 'setTouch'. Code:
tft.setTouch(calData);
Any help with these would be hugely appreciated!!!
—
Reply to this email directly, view it on GitHub
<#2037>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANTJPBISGEHF6GJZ6GM5E2LV7OVPTANCNFSM6AAAAAAQSSN3C4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Sprite sizes are limited by the RAM available, which varies depending on the processor and available RAM. Mire info here: |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, GREAT library! Been using it for while, no problems with standard fonts, on two different pages, decided to make a third page and include a Sprite in my ILI9341_DRIVER 240x320 display. I got my Sprite Graph working somewhat, but ran into two problems..
#2 shown below is fixed.. so ignore this!
2) I decided to update to this latest library to see if that would fix the sprite problem, now I get Errors, these are them:
Error 1: 'class TFT_eSPI' has no member named 'getTouch'. Code: if (tft.getTouch(&x, &y))
Error 2: 'class TFT_eSPI' has no member named 'calibrateTouch'. Code: tft.calibrateTouch(calData, TFT_MAGENTA, TFT_BLACK, 15);
Error 3: 'class TFT_eSPI' has no member named 'setTouch'. Code: tft.setTouch(calData);
Any help with these would be hugely appreciated!!!
LATEST UPDATE: Fixed Problem #2 (compile errors) by updating the files Lebo77 mentioned, but still the big problem is still here, I cannot get the full screen working, limited to 320x170, nothing higher works. Should be 320x240.
Beta Was this translation helpful? Give feedback.
All reactions