MAX7219 dot matrix degree symbol
Moderators: grovkillen, Stuntteam, TD-er
MAX7219 dot matrix degree symbol
Hi!
Something is displayed before the degree symbol. I tried DotMatrix,txt,1,° DotMatrix,txt,1,° DotMatrix,txt,1,{D}
Font - Extended ASCII characters.
Something is displayed before the degree symbol. I tried DotMatrix,txt,1,° DotMatrix,txt,1,° DotMatrix,txt,1,{D}
Font - Extended ASCII characters.
Re: MAX7219 dot matrix degree symbol
The extra character is caused by the symbol being represented in unicode, a double-byte character set, but this plugin has support for an ASCII character set only, and doesn't use most of the special characters as listed on the System Variables page.
The degree character is not included in the default font that is used, but it is available in the "Extended ASCII characters" set, as available from the documentation for the plugin. The degree symbol is in position 186 of the Extended ASCII set, you could try to use '║' (hold down the alt key and type 186 on your numeric keypad) where you want the degree symbol.
The Extended ASCII set is probably not included in many builds, what exact build (name of the .bin file please) are you using?
The degree character is not included in the default font that is used, but it is available in the "Extended ASCII characters" set, as available from the documentation for the plugin. The degree symbol is in position 186 of the Extended ASCII set, you could try to use '║' (hold down the alt key and type 186 on your numeric keypad) where you want the degree symbol.
The Extended ASCII set is probably not included in many builds, what exact build (name of the .bin file please) are you using?
/Ton (PayPal.me)
Re: MAX7219 dot matrix degree symbol
I use custom ESP32 4m316k with #define USES_P104
Re: MAX7219 dot matrix degree symbol
The Custom builds should have all fonts enabled, so you can select the Extended ASCII (4) font and use the '║' to display the degrees symbol.
/Ton (PayPal.me)
Re: MAX7219 dot matrix degree symbol
Oh. Thanks, only through transcoding to ASCII in Notepad++ does it work. And if you then make any changes through the interface - it breaks again 

Re: MAX7219 dot matrix degree symbol
Did you try to use the ║ character instead of the degree symbol?
/Ton (PayPal.me)
Re: MAX7219 dot matrix degree symbol
I try alt 0176 (and 0150 for ndash).
Re: MAX7219 dot matrix degree symbol
Please try alt-186, not alt-0176 or alt-0150, they will result in unicode characters again, that are not supported...
/Ton (PayPal.me)
Re: MAX7219 dot matrix degree symbol
Yep, the 4-digit codes are Unicode, the "old" alt-codes upto 127 are ASCII and upto 254 extended ASCII.
This latter group depends highly on the used code table.
The most frequently used ones in Dutch are: Alt-130, -137, -138 and 139 (é, ë, è, ï)
But in some regions, where another default code page would be used (e.g. for cyrillic characters) these could look completely different.
So that's why they came up with Unicode to finally have a coding schema for all possible characters... only to extend this also at some moment
This latter group depends highly on the used code table.
The most frequently used ones in Dutch are: Alt-130, -137, -138 and 139 (é, ë, è, ï)
But in some regions, where another default code page would be used (e.g. for cyrillic characters) these could look completely different.
So that's why they came up with Unicode to finally have a coding schema for all possible characters... only to extend this also at some moment

Re: MAX7219 dot matrix degree symbol
Once I faced the same problem while using the MAX7219 dot matrix display with an AVR microcontroller. A garbage symbol was always showing. I finally removed that by making some modifications to the code.
Who is online
Users browsing this forum: Bing [Bot] and 10 guests