Update font.c

Add 'Ω' and 'ω' to special charset
master
Sylaina 3 years ago committed by GitHub
parent d684610c00
commit a48b2e11cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,7 +115,9 @@ const char ssd1306oled_font[][6] PROGMEM = {
{0x00, 0x3D, 0x42, 0x42, 0x42, 0x3D}, // Ö
{0x00, 0x02, 0x05, 0x02, 0x00, 0x00}, // °
{0x00, 0x7E, 0x01, 0x49, 0x55, 0x73}, // ß
{0x00, 0x7C, 0x10, 0x10, 0x08, 0x1C} // µ
{0x00, 0x7C, 0x10, 0x10, 0x08, 0x1C}, // µ
{0x00, 0x30, 0x48, 0x20, 0x48, 0x30}, // ω
{0x00, 0x2C, 0x32, 0x02, 0x32, 0x2C} // Ω
};
const char special_char[][2] PROGMEM = {
// define position of special char in font
@ -132,5 +134,7 @@ const char special_char[][2] PROGMEM = {
{'°', 101},
{'ß', 102},
{'µ', 103},
{'ω', 104},
{'Ω', 105},
{0xff, 0xff} // end of table special_char
};

Loading…
Cancel
Save