Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
keybrd/src/Row.h

29 lines
639 B
C
Raw Normal View History

#ifndef ROW_H
#define ROW_H
#include <RowBase.h>
#include <RowScanner_PinsArray.h>
#include <Debouncer_4Samples.h>
/*
Configuration
-------------
Instantiation
-------------
todo - see Row_DH
*/
class Row : public RowBase
{
private:
RowScanner_PinsArray scanner;
Debouncer_4Samples debouncer;
public:
//Row constructor was like Row_DH constructor
Row(const uint8_t strobePin, const uint8_t readPins[], const uint8_t READ_PIN_COUNT,
Key *const ptrsKeys[])
: RowBase(ptrsKeys), scanner(strobePin, readPins, READ_PIN_COUNT) { }
2016-06-06 06:52:14 +00:00
virtual void process();
};
#endif