Jupyter Notebook¶
Run pydisplay examples in VS Code or Jupyter with the JNDisplay backend.
Limitations¶
- No user input yet — touch, keyboard, and encoder emulation are not implemented for Jupyter.
- Scripts with infinite loops require Kernel → Restart (
Ctrl+Shift+P→ "Jupyter: Restart Kernel") to stop.
Setup¶
- Install Jupyter (VS Code Python + Jupyter extensions, or classic JupyterLab).
- Clone the repo or install packages into a environment on the path.
- Open
src/jupyter_notebook.ipynb. - Run cells starting with
import lib.path.
Board config: board_configs/jndisplay/board_config.py.
When to use Jupyter¶
Good for stepping through drawing code and inspecting output cells. For interactive input testing, use CPython desktop or PyScript instead.