Python library for driving Pimoroni GFX HAT!
Project description
https://shop.pimoroni.com/products/gfx-hat
Combining a 128x64 pixel monochrome LCD, 6 touch buttons, a 6 zone RGB backlight and 6 button LEDs the GFX HAT has everything you need to turn your Pi into a controller and status display.
Installing
Full install (recommended):
We’ve created an easy installation script that will install all pre-requisites and get your Pan-Tilt HAT up and running with minimal efforts. To run it, fire up Terminal which you’ll find in Menu -> Accessories -> Terminal on your Raspberry Pi desktop, as illustrated below:
In the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions:
curl https://get.pimoroni.com/gfxhat | bash
If you choose to download examples you’ll find them in /home/pi/Pimoroni/gfxhat/.
Manual install:
Library install for Python 3:
sudo pip3 install gfxhat
Library install for Python 2:
sudo pip2 install gfxhat
Development:
If you want to contribute, or like living on the edge of your seat by having the latest code, you should clone this repository, cd to the library directory, and run:
sudo python3 setup.py install
(or sudo python setup.py install whichever your primary Python environment may be)
In all cases you will have to enable the i2c and spi buses.
Licensing
Files under library/gfxhat/fonts are licensed according supplied OFL licenses.
Bitbuntu and Bitocra fonts from: https://github.com/ninjaaron/bitocra
Documentation & Support
Guides and tutorials - https://learn.pimoroni.com/gfx-hat
Function reference - http://docs.pimoroni.com/gfxhat/
GPIO Pinout - https://pinout.xyz/pinout/gfx_hat
Get help - http://forums.pimoroni.com/c/support
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 Distributions
File details
Details for the file gfxhat-0.0.1.tar.gz
.
File metadata
- Download URL: gfxhat-0.0.1.tar.gz
- Upload date:
- Size: 240.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60aa0f576ffc54277eda772b914b2047e062210337a3b1299e1ae829b200af48 |
|
MD5 | b74a8ec2fc50e9e8b9a7557233061bc7 |
|
BLAKE2b-256 | 48ca4ffef1e20a9235516df9e79feb1af7f6c613a32816119b056aaf980adb71 |
File details
Details for the file gfxhat-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: gfxhat-0.0.1-py3-none-any.whl
- Upload date:
- Size: 240.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 973aefcdafa903c8bcbeb53a0771718e735e6a497eb9d6c2bb15d712c8885a18 |
|
MD5 | d8e1b992ed2d053715b1b92fed13cc3b |
|
BLAKE2b-256 | a529c04d56b51e7aad72671a72247459d3e05fff9a7c827a7cebcb2af35e1c94 |
File details
Details for the file gfxhat-0.0.1-py2-none-any.whl
.
File metadata
- Download URL: gfxhat-0.0.1-py2-none-any.whl
- Upload date:
- Size: 240.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5af23531db878d1d34a1b1c4aca291ac3fd97cee463b1fa764add69c3b3a54be |
|
MD5 | 44906604ad439805b09ff5f8a26f301c |
|
BLAKE2b-256 | e1bfdecc90cb5252ead4145a70c782f366194db0fb43322d51222abf1c877509 |