Good Day to all in this forum,
I am using the TFT_eSPI library , the ILI9341 display and the esp32: it is working well.
I am asking how to display the "°" and the "%" characters ? ( degree and percentage ).
Any help is appreciated.
Thanks
The percentage sign is a standard ASCII code so does not need any special treatment. It should be part of whatever font you are using. As for the degree sign. that is unicode so it depends on the font.
% is %. As for ° I'd begin looking for it in a Code page 437 table and seeing if that works.
Thanks for havig reply to me,
this line let me print the percentage character: tft.drawString("%",100,60,4);
also tft.drawChar('%',105,60,4); prints correctly. Thanks for the suggestion.
I really do not know how to display the " ° " simbol. Any additional help to me please ?
Regards
Did you look at the unicode example that comes with the TFT_eSPI library? There are tools in that library to convert any font into the appropriate array for use.
thanks blh64,
I did try hard but I ma not able to do that.
Could you please spend few more words for me or indicate a step by step procedure ?
Thanks
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.