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/scan.h | |
parent | 15f3bd72a5ee2429616c3a09c349679face715eb (diff) |
software
Diffstat (limited to 'software/scan.h')
-rw-r--r-- | software/scan.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/software/scan.h b/software/scan.h new file mode 100644 index 0000000..0c19763 --- /dev/null +++ b/software/scan.h @@ -0,0 +1,13 @@ +#pragma once + +#define SCAN_HOR 0 +#define SCAN_VER 1 +extern unsigned char scan_direction; +extern unsigned char scan_index; +extern unsigned char scan_order[8]; + +unsigned char get_state_row(unsigned char row, unsigned char direction); + +void scan(); +void optimize_scan(); + |