Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rekosk/rekosk_7segments_74hc595-circuitpython
A CircuitPython library for easily controlling 7 segments with shift registers (74HC595)
https://github.com/rekosk/rekosk_7segments_74hc595-circuitpython
74hc595 7segment 7segmentdisplay 7segments circuitpython library
Last synced: 23 days ago
JSON representation
A CircuitPython library for easily controlling 7 segments with shift registers (74HC595)
- Host: GitHub
- URL: https://github.com/rekosk/rekosk_7segments_74hc595-circuitpython
- Owner: RekoSK
- License: gpl-3.0
- Created: 2024-10-10T16:44:22.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-15T05:45:36.000Z (2 months ago)
- Last Synced: 2024-11-29T06:27:12.558Z (24 days ago)
- Topics: 74hc595, 7segment, 7segmentdisplay, 7segments, circuitpython, library
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **RekoSK 7 Segments 74HC595 library for CircuitPython**
A circuitpython library which was inspired by my arduino library, which makes working with 7 segments and 74HC595 (shift registers) easy.
## **What does it feature?**
* Printing any decimal number (even negative ones)
* Clearing the display
* *Coming (really) soon* - Printing text string
* Animations for every functiom
* Printing out segments
* Support for any lenght of display## **How to use?**
After downloading, move the library to the `lib` folder on your circuit python device and import the library into the code (or just the class, how i like to do it):```python
from RekoSK_7Segments_74HC595 import RekoSK_7Segments_74HC595 as ss
```After that you need to initialize the 7 segment:
```python
My7Segment: ss = ss(input, clk, latch, numberOfDigits, negatedInput, DefaultDelay)
```Now, you can use all the functions. The most useful one is `printINT()`, which will print any number (even negative ones):
```python
My7Segment.printINT(value, animation)
```
**For more info and help, you can check tutorials!**#### If you like this project and you want to support it, please give me a star ;).