🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

displayhatmini

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

displayhatmini

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

0.0.2
PyPI
Maintainers
1

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

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

Keywords

Raspberry Pi

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts