mirror of
https://github.com/grillbaer/esp32-geiger-counter.git
synced 2025-12-21 21:33:03 +01:00
fixed encoding problem of char 'micro'
This commit is contained in:
@@ -30,9 +30,9 @@ void renderDigits(char uSphStr[16], char cpmStr[16])
|
|||||||
|
|
||||||
y = 21;
|
y = 21;
|
||||||
u8g2.setFont(u8g2_font_4x6_tf);
|
u8g2.setFont(u8g2_font_4x6_tf);
|
||||||
w = u8g2.getStrWidth("µS/h");
|
w = u8g2.getStrWidth("\xB5S/h");
|
||||||
u8g2.setCursor(xUSph - w, y);
|
u8g2.setCursor(xUSph - w, y);
|
||||||
u8g2.print("µS/h");
|
u8g2.print("\xB5S/h");
|
||||||
|
|
||||||
w = u8g2.getStrWidth("cnt/min");
|
w = u8g2.getStrWidth("cnt/min");
|
||||||
u8g2.setCursor(xCpm - w, y);
|
u8g2.setCursor(xCpm - w, y);
|
||||||
|
|||||||
Reference in New Issue
Block a user