ShiftRegGPIOXpander_AVR

Add as many output pins as needed, as this library manages extending GPIO outputs (GPIO Expander) by using simple and economic shift registers (SIPO). Designed for 74HCx595 SIPO shift registers.

Author
Gabriel D. Goldman
Website
https://github.com/GabyGold67/ShiftRegGPIOXpander_AVR
Category
Uncategorized
License
GPL 3.0
Library Type
Contributed
Architectures
Any

Simplifies extending GPIO outputs by usage of simple and economic shift registers (SIPO shift registers), designed for the 74HCx595. The library takes care of keeping the shift register output pins updated transparently to the user by implementing an API analog to the Arduino digitalRead() and digitalWrite() functions (and adding a digitalToggle()-kind method as present in other platforms). In addition an extended API adds methods to manipulate one or several pins outputs simultaneously: set or reset all the pins in a single call, set or reset pins through a bitmask, etc. The library provides a mechanism to create 'virtual ports' that can handle a subset of contiguous pins, allowing the user to treat them as a single entity, for 1 to 16 pins long segments.

Downloads

Filename Release Date File Size
ShiftRegGPIOXpander_AVR-3.1.0.zip 2025-07-05 554.20 KiB
ShiftRegGPIOXpander_AVR-3.0.0.zip 2025-06-09 494.29 KiB