Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Row::process()
- {
- read_pins_t readState; //bits, 1 means key is pressed, 0 means released
- read_pins_t debouncedChanged; //bits, 1 means debounced changed
- readState = refScanner.scan(strobePin);
- debouncedChanged = debouncer.debounce(readState, debounced);
- send(keyCount, debouncedChanged);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement