esp8266-oled-ssd1306
esp8266-oled-ssd1306 copied to clipboard
Yurii
Does exist cirylic fonts for this library?
There is an Fork created on https://github.com/lorol/esp8266-oled-ssd1306 with cirylic fonts, and Java runtine for generating them.
The main difference is in DisplayOled.cpp where in ASCII look-up function is added:
case 0xD0: if (ch == 0x81) return (0xA8); //Ё
else if (ch >= 0x90 && ascii <= 0xBF) return (ch + 0x30);
break;
case 0xD1: if (ch == 0x91) return (0xB8); //ё
else if (ch >= 0x80 && ascii <= 0x8F) return (ch + 0x70);
break;
Based on above fork I've managed to implement characters from C4 & C5 range.