Example LED code for the Bare Conductive Pi Cap. Cycles through RGB LED colour combinations sequentially.
- Requires python-dev (
apt-get install python-dev
) - Requires RPi.GPIO (
apt-get install python-rpi.gpio
)
- You should install this code as part of the Pi Cap Raspbian package:
sudo apt-get install picap
- However, if you are doing this yourself, clone the repository and follow the usage instructions.
python colour-spin.py
N.B. must be run as root