displayhatmini-0.0.2
توضیحات
Python library for the displayhatmini 320x240 LCD with buttons and RGB
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | displayhatmini-0.0.2 |
| نام | displayhatmini |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Philip Howard |
| ایمیل نویسنده | phil@pimoroni.com |
| آدرس صفحه اصلی | https://www.pimoroni.com |
| آدرس اینترنتی | https://pypi.org/project/displayhatmini/ |
| مجوز | MIT |
# Display HAT Mini
[](https://github.com/pimoroni/displayhatmini-python/actions/workflows/test.yml)
[](https://coveralls.io/github/pimoroni/displayhatmini-python?branch=main)
[](https://pypi.python.org/pypi/displayhatmini)
[](https://pypi.python.org/pypi/displayhatmini)
# 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
نیازمندی
| مقدار | نام |
|---|---|
| - | RPi.GPIO |
| >=0.0.4 | st7789 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7 | Python |
نحوه نصب
نصب پکیج whl displayhatmini-0.0.2:
pip install displayhatmini-0.0.2.whl
نصب پکیج tar.gz displayhatmini-0.0.2:
pip install displayhatmini-0.0.2.tar.gz