This project demonstrates the use of the Estardyn 1.3" OLED Module with SH1116 controller using the luma.oled library and emulator.
It allows you do develop for this module without requiring the actual hardware, allowing for fast iterations during development.
- Python 3.x
- luma.oled
- luma.emulator
- Pillow
# On FreeBSD need to run this first: sudo pkg install py311-game
pip install -r requirements.txtpython main.pyThis will open an emulator window displaying text on the OLED screen. Use left/right arrow keys to simulate rotary encoder turns, spacebar for button, 'C' for confirm, 'B' for back, and ESC to exit.