aboutsummaryrefslogtreecommitdiff
path: root/software/shift.h
blob: 2b4f7fd8401499efdf135ad99f2db99a6ff5a605 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#define SR_ROW 0
#define SR_COL 1
extern unsigned char shift_state[2];

/** @brief update physical state of shift registers with shift_state */
void update_shift_state();

/** @brief directly push data to the serial in of the shift registers */
void shift(unsigned char data);