Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Micro Dot pHAT Driver

Project description

Micro Dot pHAT https://shop.pimoroni.com/products/microdot-phat

Micro Dot pHAT is an unashamedly old school LED matrix display board, with up to 30x7 pixels, using the Lite-On LTP-305 matrices. Perfect for building a retro scrolling message display or a tiny 30 band spectrum analyser.

Installing

Manual install:

Library install for Python 3:

on Raspbian:

sudo apt-get install python3-microdotphat

other environments:

sudo pip3 install microdotphat

Library install for Python 2:

on Raspbian:

sudo apt-get install python-microdotphat

other environments:

sudo pip2 install microdotphat

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.

Unofficial / Third-party libraries

0.2.1

  • BugFix: Call setup within set_brightness, fixes #20

0.2.0

  • BugFix: Defer setup to avoid import side effects
  • BugFix: Reset scroll X and Y to zero when cleared
  • Feature: Added Japanese text support

0.1.3

  • Added __version__ string to module
  • Added degrees symbol
  • Added mirroring: flip display left to right
  • Added DocStrings

0.1.2

  • Added set_decimal for toggling decimal places
  • Replaced clear_on_exit with set_clear_on_exit method
  • Added support for 180 degree rotation

0.1.1

  • Added set_brightness

0.1.0

  • Vertical scrolling
  • Tweaks to write_string

0.0.1

  • Initial Release

Project details


Release history Release notifications

This version
History Node

0.2.1

History Node

0.2.0

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
microdotphat-0.2.1-py2-none-any.whl (14.3 kB) Copy SHA256 hash SHA256 Wheel py2 Mar 19, 2018
microdotphat-0.2.1-py3-none-any.whl (14.3 kB) Copy SHA256 hash SHA256 Wheel py3 Mar 19, 2018
microdotphat-0.2.1.tar.gz (14.0 kB) Copy SHA256 hash SHA256 Source None Mar 19, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page