Skip to main content

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.

Documentation & Support

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


Download files

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

Source Distribution

microdotphat-0.2.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distributions

microdotphat-0.2.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

microdotphat-0.2.1-py2-none-any.whl (14.3 kB view details)

Uploaded Python 2

File details

Details for the file microdotphat-0.2.1.tar.gz.

File metadata

File hashes

Hashes for microdotphat-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1ab087402b8f6179b5efbf762ba9530679d46bb97385716abbe3d9c07d08e9d7
MD5 4f5ae83651675d42466637e1ab36e54d
BLAKE2b-256 b3b905089a4ba12659d8c77b9ba661b4f461fe5bb52b70a8d29a3b28da6c6c27

See more details on using hashes here.

File details

Details for the file microdotphat-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for microdotphat-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2a1f3d889ccdaaa829256f4f72fa42df47662c807943c6ddbc0a50680aef95e
MD5 f0ce9b7493ef1d2c7ef2b5cfa437670f
BLAKE2b-256 7e2bf35bf551d89e7ef0fdf9ede71c2fa73ec316896ec34d5a4a8d0933086f20

See more details on using hashes here.

File details

Details for the file microdotphat-0.2.1-py2-none-any.whl.

File metadata

File hashes

Hashes for microdotphat-0.2.1-py2-none-any.whl
Algorithm Hash digest
SHA256 a2e30c85187d081b9eb334b3e29fe98344cedf1bec8838d7439e6f89339b04f0
MD5 7a61356f8fd43311d7d29dde8ac284e9
BLAKE2b-256 beb8ac4f9112cb334006cc8300e8a3ef63939adaed851f8842943b1c3f436eab

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