Skip to content

Plasmarobo/shiftregister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shiftregister

A small gpiozero extension to include the 74HCT595 shift register family in gpiozero.

Example Circuit

Circuit using the shift register

Library Example

Assuming Pin 9 is connected to SH_CP (clock), Pin 10 is connected to ST_CP (show/latch), and Pin 11 is connected to DS (data)

from shiftregister import ShiftRegister

register = ShiftRegister(9, 10, 11)
register.show() # Clear to zero
register.shift(1)
register.shift(0)
register.show()

About

GPIOZero Shift Register library (74HC595)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages