keybrd library is an open source library for creating custom-keyboard firmware.
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Tento repozitář je archivovaný. Můžete prohlížet soubory, klonovat, ale nemůžete nahrávat a vytvářet nové úkoly a požadavky na natažení.
1234567891011121314 |
- #include "Row_IOE.h"
-
- void Row_IOE::process()
- {
- //these variables are all bitwise, one bit per key
- read_pins_t rowState; //1 means pressed, 0 means released
- read_pins_mask_t rowEnd; //1 bit marks positioned after last key of row
- read_pins_t debouncedChanged; //1 means debounced changed
-
- wait();
- rowState = scanner.scan(rowEnd);
- debouncedChanged = debouncer.debounce(rowState, debounced);
- pressRelease(rowEnd, debouncedChanged);
- }
|