diff options
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(); + |