keybrd library is an open source library for creating custom-keyboard firmware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

Row_IOE.cpp 405B

123456789101112
  1. #include "Row_IOE.h"
  2. void Row_IOE::process()
  3. {
  4. //these variables are all bitwise, one bit per key
  5. uint8_t readState; //1 means pressed, 0 means released
  6. uint8_t debouncedChanged; //1 means debounced changed
  7. readState = scanner.scan();
  8. debouncedChanged = debouncer.debounce(readState, debounced);
  9. send(readPinCount, debouncedChanged);
  10. }