diff options
Diffstat (limited to 'software/shift.h')
-rw-r--r-- | software/shift.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/software/shift.h b/software/shift.h new file mode 100644 index 0000000..61b0557 --- /dev/null +++ b/software/shift.h @@ -0,0 +1,11 @@ +#pragma once + +#define SR_ROW 0 +#define SR_COL 1 +extern unsigned char shift_state[2]; + +/** @brief shift shift_state naar de shift registers */ +void update_shift_state(); + +/** @brief direct data naar de shift registers sturen */ +void shift(unsigned char data); |