Skip to content

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

License

Notifications You must be signed in to change notification settings

cheshrkat/toucan8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages