ShiftRegister Library for Arduino Author: Alexander Brevig Contact: alexanderbrevig@gmail.com
1.0 2009-04-13: Initial Release
1.0 2009-04-13: Initial Release
ShiftRegister is an interface for ShiftRegisters on the Arduino.
It is created to help Hardware Abstraction, and readability of code. It declres the functionalities a ShiftRegister has to provide for complete abstraction of the bit shifting.
ShiftRegister library is part of the Hardware Abstraction libraries.
Download here: Attach:ShiftRegister.zip
You do not create instances of an interface.
These functions will need to be overridden in a ShiftRegister library
Provide a way to buffer a byte, prepare it to get shifted.
Provide a way to write the contents of the current buffer to the ShiftRegister
Provide a way to write the byte 'out' to the ShiftRegister
See an example implementation for the 595 ShiftRegister.
//Contact me if you have any questions, I will answer ASAP. (I'll post an answer here as well.)
Part of AlphaBeta Libraries. | |
Last Modified: | May 09, 2009, at 05:14 AM |
By: | AlphaBeta |