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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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