https://github.com/GuyCarver/MicroPytho ... ib/OLED.py
For ESP8266:
https://github.com/GuyCarver/MicroPytho ... 66/oled.py
In order to print text you must also supply a font of which I have 3:
https://github.com/GuyCarver/MicroPytho ... nalfont.py
https://github.com/GuyCarver/MicroPytho ... sysfont.py
https://github.com/GuyCarver/MicroPytho ... riffont.py
Diymall 9.6 oled.
Diymall 9.6 oled.
End of line...
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Diymall 9.6 oled.
Have you seen my solution to the problem of fonts? This Python utility converts industry standard font files to MicroPython source files which can be frozen as bytecode. Rather than pulling the entire dataset into RAM individual glyphs can be accessed directly from Flash with minimal RAM usage.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.