Degree symbol on display
-
Hi all
I'm unable to print the "degree symbol" (°) on the integrated LCD.
I tried different options like: char(176), char(223), 0XDF, 0XB0, even the binary version. In the serial monitor everything works fine, but not on the LCD. Is it possible, that the used driver of the LCD isn't able to show the sign, meaning it can only print the ASCII symbols up to 128?
Thanks. -
@bladehunt0 Hi, which model of M5Stack is this?
Core 2 and Core basic can use different graphics.
-Terry -
Hi.
I have the M5GO and the Core basic.
BR Alex
-
@bladehunt0 Well, I tried using M5.LCD.print(º) but nothing on the LCD after upload!
I think you are right that it does not support "extended ASCII", but...with a graphical interface, anything is possible...but with a ton of trial_and_error.
-Terry -
@teastain yeah. It seems that, if I can't life with the asterisk, I'll have to draw a circle 😅
TyBR
Alex -
@bladehunt0
I know that this is not an answer to your problem...I use a Core Basic to control the HVAC in my home office and the top reading is:
Room Temp 24.3
Fortunately the % sign is supported for Humidity!!!
Here is an experiment!M5.Lcd.setCursor(272, 98);
M5.Lcd.setFreeFont(FS9);
M5.Lcd.print("o");
worked surprisingly well.
The "98" is 16 pixels higher than the reading.
https://imgur.com/qMvmT7s