Hi
Just write a sketch to write on the lcd touchscreen the temperature sensor readings. All works fine except for this symbol " º " . Only for testing I use tft.print("-88,88 ºC"); and only prints "-88.88 C" How can I write this symbol on the screen?
My hardware: Arduino Uno V3 ; TFT touchscreen mcufriend.
I think that the TFT display is only a graphical display and the font is in software. Perhaps the libraries that you use have an option to select an other font with special characters.
@horacles111@xfpd Hi there,
I also had the same problem with my tft, I'm using an ILI9341 320x240 from Adafruit and couldn't write the ° on the tft, there are a few ways to draw it depending on the library used or the tft I guess, try this:
tft.setCursor(20, 40, 2);
tft.print("`"); // prints ° sometimes
tft.print("÷"); // prints ° sometimes
tft.print(0xDF);
tft.print("\xC2\xB0");
tft.print(char(174));
tft.print("C");
I'm using the tft_eSPI library
#include <TFT_eSPI.h> // Graphics and fonts library for 32 bit processors
TFT_eSPI tft = TFT_eSPI();