Python library for the displayhatmini 320x240 LCD with buttons and RGB
Project description
Display HAT Mini
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
- Pinout - https://pinout.xyz/pinout/display_hat_mini
- Buy - https://shop.pimoroni.com/products/display-hat-mini
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for displayhatmini-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a91b95487abc2633ac990ca8bf25999666f0059b7da8c54285a70268d8d16bda |
|
MD5 | 99cc845cab6adb05750262cd3915e6c9 |
|
BLAKE2b-256 | a2763ced1b9e48d2bf1efec64f9ad4effc7bc9c3302aa360ea1ea2f6c3fd18ff |