1234567891011121314151617181920212223242526272829 |
- #ifndef ROWIOE_H
- #define ROWIOE_H
-
- #include <RowBase.h>
- #include <RowScanner_PinsBitwise.h>
- #include <Debouncer_4Samples.h>
-
- /*
- Simlar to Row but using RowScanner_PinsBitwise.
-
- Configuration
- -------------
-
- Instantiation
- -------------
- */
- class Row_IOE : public RowBase
- {
- private:
- RowScanner_PinsBitwise scanner;
- Debouncer_4Samples debouncer;
- public:
- Row_IOE( RowPort& refRowPort, const uint8_t strobePin,
- ColPort& refColPort, Key *const ptrsKeys[])
- : RowBase(ptrsKeys), scanner(refRowPort, strobePin, refColPort) { }
- uint8_t scan(uint16_t& rowEnd);
- uint8_t debounce(const uint8_t rowState, uint8_t& debounced);
- };
- #endif
|