Replies: 3 comments 2 replies
-
Could you try using the character code for degrees directly into the file. Honestly, I've never tried a non-ascii UTF-8 character there, but I've seen images of menus with a Kanji character there, so must be possible. |
Beta Was this translation helpful? Give feedback.
-
Didnt find a solution till now to do it with TCMenu Gui
does show the deg character but its not possible to enter a \ in tcmenu. When i try to use the ascii character by mac it would be
but this character just outputs garbage, either direct or via tcmenu P.S. you can copy a hex char value to the clipboard with osx terminal: |
Beta Was this translation helpful? Give feedback.
-
The library can handle the chars, with a call like that it works and shows °C: const PROGMEM AnalogMenuInfo minfoTemp = { "Temp", 28, 0xffff, 150, Temp, 0, 1, "\xDF\x43" }; even better in octal notation, then its easy to continue with normal characters: const PROGMEM AnalogMenuInfo minfoTemp = { "Temp", 28, 0xffff, 150, Temp, 0, 1, "\337C" }; So without thinking about other consequences it would be sufficient if TCMenu allows the \ char |
Beta Was this translation helpful? Give feedback.
-
Is there a way to do °C as unit in AnalogMenuItem?
Beta Was this translation helpful? Give feedback.
All reactions