Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
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?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
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
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
Thanks for the tip. Can you give a small example of the implementation in the code?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Library for OLED displays SH1106/SSD1306 (I2C) with Russian letters (Cyrillic) for ESP32/8266
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.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.