Skip to main content

Python library for the displayhatmini 320x240 LCD with buttons and RGB

Project description

Display HAT Mini

Build Status Coverage Status PyPi Package Python Versions

Pre-requisites

You must enable:

  • spi: sudo raspi-config nonint do_spi 0

You can optionally run sudo raspi-config or the graphical Raspberry Pi Configuration UI to enable interfaces.

Installing

Stable library from PyPi:

  • Just run pip3 install displayhatmini

In some cases you may need to use sudo or install pip with: sudo apt install python3-pip

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/displayhatmini-python
  • cd displayhatmini-python
  • sudo ./install.sh

Useful Links

Changelog

0.0.2

  • Add PWM backlight support (not super stable, but it works)
  • Add on_button_pressed for interrupt driven buttons

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

displayhatmini-0.0.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

displayhatmini-0.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file displayhatmini-0.0.2.tar.gz.

File metadata

  • Download URL: displayhatmini-0.0.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

File hashes

Hashes for displayhatmini-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e2c3419208757312ebe81b0b2a8f112cfaf7ed8c20e49dc3b508eb60b6693cd2
MD5 adc4cee23195107925e54da05c9ca46f
BLAKE2b-256 50a29b612c8c1ef1ae22ff200bd7549a9f1f9553ed576e390cef51e24668c778

See more details on using hashes here.

File details

Details for the file displayhatmini-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: displayhatmini-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

File hashes

Hashes for displayhatmini-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a91b95487abc2633ac990ca8bf25999666f0059b7da8c54285a70268d8d16bda
MD5 99cc845cab6adb05750262cd3915e6c9
BLAKE2b-256 a2763ced1b9e48d2bf1efec64f9ad4effc7bc9c3302aa360ea1ea2f6c3fd18ff

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