eWidgets with sprites? #2116
-
Trying to use the GraphWidget and TraceWidget with a Sprite.
In setup(), I init the tft
Nothing too crazy...
Then I push the sprite, but nothing is displayed...
Clearly (or should I say "Transparently") I am missing something fundamental here. Anyone able to help me through this knothole? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Perhaps the sprite is not being created as there is insufficent RAM (~300kbytes needed). img.createSprite(480, 320); will return a nullptr if the creation fails. |
Beta Was this translation helpful? Give feedback.
Perhaps the sprite is not being created as there is insufficent RAM (~300kbytes needed). img.createSprite(480, 320); will return a nullptr if the creation fails.