Closed ber-red closed 3 years ago
Aim: show the Degree sign in "°C" Code: In the .ino you reference to Codepage 437, character 167 (which is "Masculine ordinal indicator") I found detail here: codepage437 and changed the section in .ino to
... display.setCursor(x0+7*6,15); display.write(248); ...
indeed, I was using the wrong character, thanks for taking your time to post an issue here, greatly appreciated :)
PS: additionally I prefixed
display.write(248);
withdisplay.cp437(true); // Use full 256 char 'Code Page 437' font
(worked either with or whitout it but feels better)
in my case, it was even necessary to do that, i.e. without enabling that font, the degree symbol is shown incorrectly.
Aim: show the Degree sign in "°C" Code: In the .ino you reference to Codepage 437, character 167 (which is "Masculine ordinal indicator") I found detail here: codepage437 and changed the section in .ino to
PS: additionally I prefixed
display.write(248);
withdisplay.cp437(true); // Use full 256 char 'Code Page 437' font
(worked either with or whitout it but feels better) ;-)