Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. void Row::process()
  2. {
  3. read_pins_t readState; //bits, 1 means key is pressed, 0 means released
  4. read_pins_t debouncedChanged; //bits, 1 means debounced changed
  5.  
  6. readState = refScanner.scan(strobePin);
  7. debouncedChanged = debouncer.debounce(readState, debounced);
  8. send(keyCount, debouncedChanged);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement