how can i print °C in 2.4 touch tft (using Adafruit_GFX MCUFRIEND_kbv)

i know lcd.print(" \337C"); in lcd1602

but what in 2.4 tft rouch screen

#include <Adafruit_GFX.h>
#include <MCUFRIEND_kbv.h>
#include <TouchScreen.h>
MCUFRIEND_kbv tft;
tft.print(‘xxxx’) ??

\337 is the octal code for the degree symbol in most 16x2 LCD fonts.

Adafruit_GFX default 7x5 font also has a degree symbol 0xF7 octal \367
However the FreeFonts that come with Adafruit_GFX only have characters 0x20-0x7F.
You need to use a FreeFont with chars 0x20-0xFF and use 0xB0 octal \260


wow, thanks :slight_smile:
\367 works !