How to show Degree sign " ° C " on Value widget?

How can I show Degree sign " ° C " on Value widget, I use Blynk.virtualWrite(VP, value + char(233)), but it show “?” symbol. I don’t want to use Label Value widget, because I need to use small size value widget

thks

BLYNK_READ(V1) { temp_f = dht.readTemperature(false);// Read temperature as Celsius int value=temp_f*10; String str; char result[5]; result[0]=(value/100)+'0'; result[1]=((value/10)%10)+'0'; result[2]='.'; result[3]=(value%10)+'0'; result[4]='\0'; str +=result; str +="℃"; //char buf[str.length()+1]; char buf[8]; str.toCharArray(buf,sizeof(buf)); Blynk.virtualWrite(1,buf); }

1 Like

hihi, very simple, thanks very much :grin:

You can also use Labeled Value Display for that.

Thks your reply
Yes, I know, but I need S size, labled value widget has M L size