You do not need physical hardware to develop with luma.oled. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/rm-hull/luma.oled/llms.txt
Use this file to discover all available pages before exploring further.
luma.emulator package provides drop-in replacements for real device classes, so you can write and test your display code on any machine with a screen or filesystem.
Available emulators
The package ships three emulator backends:- pygame — opens a real-time window that mirrors what the OLED would show, refreshed at a configurable frame rate
- capture — saves each frame as a PNG screenshot to disk
- gifanim — records frames and writes an animated GIF when the program exits
Installation
Using an emulator
Emulator devices expose the exact same API as physical devices. Swap the import and constructor call — everything else in your code stays the same:device exactly as you would with real hardware: