Skip to content

john-root/scroll-phat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

>>>>>>>>>> Scroll pHAT >>>>>>>>>>

Note: This library is still a little bit beta, we've been rushed off our feet and haven't had time to properly test and refine it and come up with examples. Sorry! It mostly works, though!

11x5 pixels of message scrolling goodness!

https://shop.pimoroni.com/collections/raspberry-pi-zero/products/scroll-phat

Pre-requisites

Use raspi-config to activate i2c

Install the smbus module:

sudo apt-get install python-smbus
sudo apt-get install python3-smbus

If you want to run the sine.py sample you will also need the psutil library:

sudo apt-get install python-psutil
sudo apt-get install python3-psutil

Installing

You can install the scrollphat library from pip like so:

sudo pip install scrollphat
sudo pip3 install scrollphat

Resetting the Scroll pHAT

run the turn_leds_off.py script to turn off all the LEDs

python turn-leds-off.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%