loboris / MicroPython_ESP32_psRAM_LoBo

MicroPython for ESP32 with psRAM support
Other
831 stars 344 forks source link

Text is corrupted for some fonts #276

Closed dvilelaf closed 5 years ago

dvilelaf commented 5 years ago

I'm using a Wemos D32 Pro with a 2.4" ILI9341+XPT2046 TFT. I've noticed that, for some fonts, the strings appear corrupted on the screen. Strangely, the text usually is corrupted from the 4th char on. The problem also appears when calling the demo dispFont(). I've also tried compiling another font and the problem persist.

The most "normal" fonts seem to be the only affected, as FONT_Comic, FONT_Minya and FONT_Tooney work ok.

Imgur Imgur

dvilelaf commented 5 years ago

Ok, so it seemed to be an issue with the SPI speed being too high in my initialization. Now it works like a charm.