Skip to main content

Python library for driving Pimoroni Mote pHAT

Project description

Mote https://shop.pimoroni.com/products/mote-phat

Drive four channels of APA102 pixels from your Raspberry Pi or Pi Zero with Mote pHAT

Installing

Manual install:

Library install for Python 3:

on Raspbian:

sudo apt-get install python3-motephat

other environments:

sudo pip3 install motephat

Library install for Python 2:

on Raspbian:

sudo apt-get install python-motephat

other environments:

sudo pip2 install motephat

Development:

If you want to contribute, or like living on the edge of your seat by having the latest code, you should clone this repository, cd to the library directory, and run:

sudo python3 setup.py install

(or sudo python setup.py install whichever your primary Python environment may be)

In all cases you will have to enable the i2c bus.

Documentation & Support

0.0.3

  • Fix EOF packet to 42 clocks

  • Add gamma adjustment

  • Switch from “exit” to “raise ImportError” when checking required modules

  • Add short sleep to guarantee that pin state is set when toggled

0.0.2

  • Initial release to Raspbian apt repository

0.0.1

  • Mote-compatible library for Mote pHAT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

motephat-0.0.3.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distributions

motephat-0.0.3-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

motephat-0.0.3-py2-none-any.whl (7.0 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page