Bodmer
Bodmer
So if I understand correctly adjusting the value in the sketch works: https://github.com/Bodmer/TFT_eSPI/blob/master/examples/PNG%20Images/Flash_PNG/Flash_PNG.ino#L25 But if the image is more that 640 pixels wide the the PNGdec library must also be...
I suspect these changes have no effect because the compiler will pre-calculate varaibles for inside a loop and minimise comparisons. This means that trivial re-jigging of code is of no...
I tried the changes on an RP2040 and it made no difference to binary so I would rather leave the code as is. I expect there are areas where optimisation...
Deleting the line fixes it.
Other changes suggested as in #16
Thanks for reporting this, I have reproduced the problem. I suspect this may be linked to the way the library deliberately tries to adust the position for italic fonts (bitmap...
Yes, that is the adjustment I mentioned. I will need to think how your use case can be handled. It may need a configuration switch otherwise functions like printToSprite will...
It is likely that the SPI clock rate is set too high. What rate are you using?
Sorry, that was a daft question. I am so used to folk using my TFT_eSPI library and trying to run displays at 80MHz SPI clock rate! I suspect the timing...
OK, warning correct would be helpful.