Sample CircuitPython Code

The following scripts are intended to run in CircuitPython on a microcontroller. They are specifically written for the Adafruit Circuit Playground Bluefruit we use in this course.

For other CircuitPython code samples including signal processing and numerical computation, please see the Pico CircuitPython examples supplied with the course notes for Creative Kinetic Systems. These also include hardware examples specifically for the Raspberry Pi Pico which could be adapted for the CPB with minimal work.

Sample Python Code

The following scripts are intended to run in Python on a normal desktop or laptop.

Sample Arduino Code

The course reserves include some Arduino-based hardware for which the following sketches may apply.