ShiftRegister595 Library for Arduino Author: Alexander Brevig Contact: alexanderbrevig@gmail.com
1.0 2009-04-13: Initial Release
1.0 2009-04-13: Initial Release
ShiftRegister595 is an interface for ShiftRegister595s on the Arduino.
It is created to help Hardware Abstraction, and readability of code. It declres the functionalities a ShiftRegister595 has to provide for complete abstraction of the bit shifting.
ShiftRegister595 library is part of the Hardware Abstraction libraries.
Download here: ShiftRegister595.zip
ShiftRegister595(byte* userPins, byte numberOfUserPins)
byte latchPin = 8; //Pin connected to ST_CP of 74HC595 byte clockPin = 12; //Pin connected to SH_CP of 74HC595 byte dataPin = 11; //Pin connected to DS of 74HC595 ShiftRegister595 shiftRegister595 = ShiftRegister595( latchPin , clockPin , dataPin );
Initiates a ShiftRegister595 object that uses pins 8, 11 and 12.
A way to buffer a byte and prepare it to get shifted.
A way to write the contents of the current buffer to the ShiftRegister595
A way to write the byte 'out' to the ShiftRegister595
How can I use multiple ShiftRegister595s?
Part of AlphaBeta Libraries. | |
Last Modified: | October 20, 2015, at 06:53 PM |
By: | pert |