Skip to content

A CircuitPython library for easily controlling 7 segments with shift registers (74HC595)

License

Notifications You must be signed in to change notification settings

RekoSK/RekoSK_7Segments_74HC595-CircuitPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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):

from RekoSK_7Segments_74HC595 import RekoSK_7Segments_74HC595 as ss

After that you need to initialize the 7 segment:

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):

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 ;).

About

A CircuitPython library for easily controlling 7 segments with shift registers (74HC595)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages