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 details)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

File details

Details for the file motephat-0.0.3.tar.gz.

File metadata

  • Download URL: motephat-0.0.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for motephat-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1b00b5f1285be19fbabe884542a963eedce904c7f12fd5cf429bcc9db7e3c43e
MD5 b1fe8e7c5a8a19348d83bcffce2c1518
BLAKE2b-256 7366cfa735c5a3ac1ba8b53da0ee4fb3f08d239751241bf97e235d254e001f6e

See more details on using hashes here.

File details

Details for the file motephat-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: motephat-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for motephat-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4a57ac75eb65461f9eb59f2e9816062f0f97dddc65d04441e29d419bcab1773d
MD5 ca5c71c0969662bde05701b8cc27f0f5
BLAKE2b-256 3030e37e3e12f3721c22b8a20b5d553fb6fc1872aa04e5f0c2dcb4cfe4e00674

See more details on using hashes here.

File details

Details for the file motephat-0.0.3-py2-none-any.whl.

File metadata

  • Download URL: motephat-0.0.3-py2-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for motephat-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 4e06eaa8a19ac15413fe25d7fd1af6dd7b169684a4ac3d0205741d53343313c0
MD5 e636acb214c0331aaae1cabdcb1c17ed
BLAKE2b-256 a07cb1e48828dbbc536a7db143aa70be61dbf209654e99c87d05750ef3a5c66f

See more details on using hashes here.

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