Page 1 of 1
Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 20:12
by bison00
Hi,
I search for a Solution to add °C to my scrolling Text on a 8x8 7219 Dot Matrix. I will use this in regular Rules Programm.
I try a lot of different Phrase but nothing works.
This is an example:
DotMatrix,settxt,1,'Pool: [Sens#Temp]°'
Can anyone help me?
regards Bison
Re: Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 20:27
by Ath
Of the available fonts, only the
Extended ASCII font supports the degree symbol. Depending on the build you're using, this font may or may not be included, you can check that in the Font dropdown list.
The font overview shows what ASCII character to use for making it visible.
Re: Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 20:42
by bison00
Hi,
I activate the extend ASCII 2 with this command
DotMatrix,font,1,4
DotMatrix,settxt,1,'Pool: [Sens#TEmp].°C'
DotMatrix,pause,1,10000
Re: Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 21:00
by Ath
Well, "°" is not the way to get that degree symbol shown, you should put the ASCII character 186 there: º
Possibly using {D} could work, don't have a display at hand to test, ATM.
Re: Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 21:02
by bison00
How can I do this in Rules?
Re: Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 21:03
by Ath
bison00 wrote: ↑24 Apr 2024, 21:02
How can I do this in Rules?
Code: Select all
DotMatrix,settxt,1,'Pool: [Sens#TEmp]{D}C'
Re: Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 21:30
by bison00
when I use
Code: Select all
DotMatrix,settxt,1,'Pool: [Sens#TEmp]{D}C'
it show me the
I don't know what to do
reagards. Bison
Re: Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 21:34
by Ath
Then try:
Code: Select all
DotMatrix,settxt,1,'Pool: [Sens#TEmp]║C'
Re: Degree shown in DOT-MAtrix 7219
Posted: 24 Apr 2024, 22:03
by bison00
Hi,
for today is enough I go to bed!
No Solution.
Good Night an Thanks
Re: Degree shown in DOT-MAtrix 7219
Posted: 22 May 2024, 23:03
by Ath
@bison00 I did some digging into the library code, and in the default font, despite what's listed in the documentation, the degree symbol is at ascii character 176, so if you use that '░' as a literal character in your rules, you should get the degree displayed (untested, matching hardware is temporarily stored away).