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-pythoncd displayhatmini-pythonsudo ./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_pressedfor 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2c3419208757312ebe81b0b2a8f112cfaf7ed8c20e49dc3b508eb60b6693cd2
|
|
| MD5 |
adc4cee23195107925e54da05c9ca46f
|
|
| BLAKE2b-256 |
50a29b612c8c1ef1ae22ff200bd7549a9f1f9553ed576e390cef51e24668c778
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a91b95487abc2633ac990ca8bf25999666f0059b7da8c54285a70268d8d16bda
|
|
| MD5 |
99cc845cab6adb05750262cd3915e6c9
|
|
| BLAKE2b-256 |
a2763ced1b9e48d2bf1efec64f9ad4effc7bc9c3302aa360ea1ea2f6c3fd18ff
|