A library for interfacing with the SN74HC595N Shift register. Includes functions for writing bits, bytes, animation and bits at spesified positions.
Diff: ShiftOut.h
- Revision:
- 1:c89861664726
- Parent:
- 0:e576e892f0ca
- Child:
- 2:88581826b53c
--- a/ShiftOut.h Fri Dec 25 11:59:15 2015 +0000 +++ b/ShiftOut.h Fri Dec 25 12:05:50 2015 +0000 @@ -29,41 +29,41 @@ PinName oe, PinName reset); /* - param: 0xXX or numbers from 0-255 - Writes a byte to the shift register + @param: 0xXX or numbers from 0-255 + @note Writes a byte to the shift register */ void writeByte(unsigned char); /* - param: 0 or 1 - Writes a bit to the first output on the shift register + @param: 0 or 1 + @note Writes a bit to the first output on the shift register */ void writeBit(unsigned char); /* - param: int array - Writes bits from an 2D array, with configurable delay + @param: int array + @note Writes bits from an 2D array, with configurable delay */ void animate(int[][8], int, int); /* - Shows two animation examples + @note Shows two animation examples */ void animationExample(void); /* - param: output, state + @param: output, state Writes to the desired state to the output on the shift register */ void writeBitAtPos(unsigned char, bool); /* - param: char array + @param: char array Writes the corresponding array item to the output on the shift register */