Page 1 of 1
Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
Posted: Sun Mar 06, 2022 11:17 pm
by Tesla_X
Hello. Who can tell you where to get the library for SH1106/SSD1306 OLED displays (I2C interface) with Russian letters (Cyrillic) for ESP32/8266 microcontrollers? Or how can existing libraries be modified to add the necessary functionality?
Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
Posted: Mon Mar 07, 2022 1:21 pm
by pythoncoder
It is possible to create fonts with Cyrillic characters using
font-to-py. An SSD1306 I2C driver is available as part of
nano-gui. The font and driver may be used in a nano-gui or (micro-gui) application, but for simple text display the
Writer class described in the font-to-py library is all you need
Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
Posted: Mon Mar 07, 2022 2:01 pm
by Tesla_X
Thanks for the tip. Can you give a small example of the implementation in the code?
Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
Posted: Tue Mar 08, 2022 9:45 am
by pythoncoder
I'm not sure where you're having difficulty. There is a file cyrillic prepared by a user which I'm told includes the entire character set. Use font_to_py.py with the -k cyrillic option to generate your font.