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

Uploaded Source

Built Distributions

microdotphat-0.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

microdotphat-0.2.0-py2-none-any.whl (14.2 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for microdotphat-0.2.0.tar.gz
Algorithm Hash digest
SHA256 34306dfbf13e46d24a2deddced5cbace1f74462a2224162d08a43196b1298a97
MD5 4bf7da2491803b889e1f13f4a06f29de
BLAKE2b-256 352a4e8f796c6a7b64630b82add3231d992998d8269f77311547a7e4f52608ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microdotphat-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89472cd5e6af61fe847c6a0413b98bfef119afc903549388dbb367a9b6dab959
MD5 a9f9b76dbe0f309bc4c3d73a020d2a4b
BLAKE2b-256 b6ec9449791f7a15a71e481d649b4721ff004d24d87789eaebd8f4dc2641d6e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for microdotphat-0.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 3eca03da9bffd78926ffcdef317838dea207bf139cc94916002864f95b8a64c4
MD5 79bdc4608a7b7ef02db1c570b72540df
BLAKE2b-256 5cb37956d606c736d2211fb54581b0d3612f6f26229393da4ff16757a3c06eb3

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