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.2

  • BugFix: Reset scroll X and Y to zero when cleared - The Sequel

  • Switch to smbus2 for i2c back-end

  • Feature: add is_connected to check for presence of HAT

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.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

microdotphat-0.2.2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: microdotphat-0.2.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for microdotphat-0.2.2.tar.gz
Algorithm Hash digest
SHA256 79270fff76f81f9d31ef7c7f469d3342f43fdcce66d483f5ab5e4a4dd1c1d238
MD5 a082e33910808c9499f578e282e8f50e
BLAKE2b-256 5c156167272dc0660b992d0ae64f0bf7607bafceadaa8c46c81b1d8fe7dab7d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: microdotphat-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for microdotphat-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b3923f275216216faece68ea25f39528eea66b9327d325d1c85b6b767531b73
MD5 5030e8eb9d6d4b7a100dd29ee091acb1
BLAKE2b-256 4538c6b81809348f46909cdb668f3fac9f84e67c9d62fd002a97b3b1b4ab6a47

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