add shiftIn shiftOut

thanks @ladyada
This commit is contained in:
me-no-dev
2016-11-13 16:53:56 +02:00
parent bfe6e5ae77
commit 2cc1a6a1da
2 changed files with 53 additions and 0 deletions

View File

@ -119,6 +119,9 @@ typedef bool boolean;
typedef uint8_t byte;
typedef unsigned int word;
uint8_t shiftIn(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder);
void shiftOut(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder, uint8_t val);
#ifdef __cplusplus
}