This is a simple library to use M 7 segment displays connected to N *595 Shift registers. All pin numbers are based on the GPIO.BCM numbering scheme. You will need the RPi.GPIO module available.
This module also requires my PiShiftPy library.
Basic Usage
Defaults
Code
import Pi7SegPy as Pi7Seg
Pi7Seg.init()
while True:
Pi7Seg.show([1]) # Display 1 on a single 7 segment display connected to 1 Shift register
Advanced Usage
import Pi7SegPy as Pi7Seg
Pi7Seg.init(17,27,22,2,4) # Initialize with Data:GPIO17, Clock:GPIO27, Latch:GPIO22, with 2 shift registers and 4 7 segment displays on each register
while True:
Pi7Seg.show([1,2,3,4,5,6,7,8], [1,2,5]) # Display 12345678 on 8 displays connected to 2 registers with dots enabled on the 1st, 2nd and 5th Digit
Available Characters
0,1,2,3,4,5,6,7,8,A,b,C,c,d,E,F,H,h,L,n,I,O,o,P,S, (space)
Metadata
Release files for Pi7SegPy 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Pi7SegPy-0.1.1.tar.gz | 3.4 kB | Without provenance | Details for Pi7SegPy-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Pi7SegPy-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for Pi7SegPy-0.1.1-py2.py3-none-any.whl |
Total release size: 7.8 kB
Release files / Pi7SegPy-0.1.1.tar.gz
| Download URL | Pi7SegPy-0.1.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5347edfc172ec539408e5daa4a974d3cd9da600ba5813644e637ce6515d4b92
|
|
BLAKE2b-256 checksum How to use checksums |
3159fb55a991ae653aef51d4695c3a72491e03a6fc64db6bfbe632f0efd59f9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Pi7SegPy-0.1.1-py2.py3-none-any.whl
| Download URL | Pi7SegPy-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b9af7c0c1a0ef14a6b2d7c6922c4dfe876a4976ce5018d667f55a52210fd743e
|
|
BLAKE2b-256 checksum How to use checksums |
c350fc8353e5561b0f4de12be651f45c9efbcf7912f3cdf87a986dfeba2045d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Pi7SegPy 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.