From a48b2e11cb4b42741e489da4a93edffdc1e834ef Mon Sep 17 00:00:00 2001 From: Sylaina Date: Fri, 25 Jun 2021 20:51:33 +0200 Subject: [PATCH] Update font.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add 'Ω' and 'ω' to special charset --- font.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/font.c b/font.c index 7dd5bf2..2cee38d 100644 --- a/font.c +++ b/font.c @@ -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 };