aboutsummaryrefslogtreecommitdiff
path: root/software/scan.ino
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-11-26 15:30:34 +0100
committerlonkaars <loek@pipeframe.xyz>2021-11-26 15:30:34 +0100
commit0169625b253301ed24267ebfd19afb55e5121bca (patch)
tree6d27e9b12823c5086dc6ab25bbd31978df746e0d /software/scan.ino
parentb2a27b3f0dc4b9db227184595062ffded0f5decb (diff)
working software
Diffstat (limited to 'software/scan.ino')
-rw-r--r--software/scan.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/software/scan.ino b/software/scan.ino
index 8711502..9feba79 100644
--- a/software/scan.ino
+++ b/software/scan.ino
@@ -18,7 +18,7 @@ unsigned char get_state_row(unsigned char row, unsigned char direction) {
}
void scan() {
- shift_state[0] = 0xff ^ (1 << scan_index);
+ shift_state[0] = (1 << scan_index);
shift_state[1] = get_state_row(scan_index, scan_direction);
update_shift_state();