Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.5 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.5 KB

toucan8

Files for running a Little Bird Electronics Toucan 8 LED HAT for Raspberry Pi.

Notes on the Toucan

Notes on this repository

  • Requires Python 3
  • Scripts tested on a Raspberry Pi 2 Model B, running Raspbian 10 (Buster) with Python 3.7
  • I'm a python noob so be kind ;) There's probably a better way to do everything.

/apa102

Python files using APA102 - https://pypi.org/project/apa102/

Quick start (on your pi):

cd ~
git clone [email protected]:cheshrkat/toucan8.git
cd toucan8/apa102
pip3 install -r requirements.txt 
python3 toucan-helloworld.py
  • toucan-helloworld.py flashes a simple rainbow on and off, which is good to confirm things are working.
  • To preview all the scripts, run toucan.py
  • To just switch everything off, run toucan-off.py
  • Review toucan_helpers.py to see the various helper functions. Note you need to pass your lights object to most of them.