diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-11-24 22:29:50 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-11-24 22:29:50 +0100 |
commit | da48b3b203c9bda793cd0deed9dbd05db813d3ce (patch) | |
tree | 27d9a66155ebb7e6e077afec37c6ef78d10b60f0 /software/shift.h | |
parent | 15f3bd72a5ee2429616c3a09c349679face715eb (diff) |
software
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); |