CircuitPython Kernel
The CircuitPython Kernel is a Jupyter Kernel designed to interact with Adafruit boards running CircuitPython from within a Jupyter Notebook.
Status
This project's status is experimental. It has been tested with CircuitPython (SAMD) boards and the Feather HUZZAH (ESP8266) with CircuitPython 3.x.
It may break, and if it does, please file an issue on this repository.
Compatible Boards
Designed for CircuitPython (SAMD21 and SAMD51)
- Adafruit CircuitPlayground Express
- Adafruit Feather M0 Express
- Adafruit Metro M0 Express
- Adafruit Metro M4 Express
- Adafruit Trinket M0
- Adafruit Gemma M0
- Adafruit Trinket M0
- Adafruit ItsyBitsy M0 Express
- Adafruit ItsyBitsy M4 Express
Other Adafruit Boards
Download
Official .zip files are available through the latest GitHub releases.
Install
Jupyter:
pip3 install --upgrade pip pip3 install jupyter
Optional:
pip3 install jupyterlab
CircuitPython kernel:
cd circuitpython_kernel/ python3 setup.py install; python3 -m circuitpython_kernel.install
Then run with one of:
jupyter notebook jupyter lab
and choose the CircuitPython kernel.
Documentation
This kernel is fully documented on the Adafruit Learning System Guide: CircuitPython with Jupyter Notebooks.
A line containing exactly the word:
%softreset
will reset the board and release all resources.
There's also documentation for this kernel listed on ReadTheDocs.