Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
3 years, 8 months ago.
Nucleo- F411RE and L476RG Displays graphics but the fonts are messed up.
The graphics display perfectly, however the fonts are not displaying correctly. Obviously, the SPI is working just fine. So why would I get graphic circles and lines but not text?
Changed the SPI frequency to 1mhz didn't seem to make a difference.......... Beuler.........anybody?
Fixed It! The file SPI_TFT_ILI9341.cpp function character, the SPI was in 16 bit mode, should be in 8 bit mode. This should fix the Nucleo-F411RE and the L476RG.
Works in SPI 8 bit mode with the #define TARGET_KL25Z. But now text position is an issue. Ugly wrap around. I think I found an answer to that somewhere on MBED?. Can't get text positioning to work and the fonts are flaky.
Can only conclude that library is not compatible with either of these boards. could be spi.format(8,1) ? Don't know.
Going to try this library.
- This library works for graphics so you'll have to put the TFT touch from the seeed library with this one. I will try this on the L476RG and post here for posterity.