15 lines
285 B
C
15 lines
285 B
C
|
#ifndef SCANNERINTERFACE_H
|
||
|
#define SCANNERINTERFACE_H
|
||
|
|
||
|
#include <config_keybrd.h>
|
||
|
|
||
|
/* scan() retuns state of readPins.
|
||
|
*/
|
||
|
class ScannerInterface
|
||
|
{
|
||
|
public:
|
||
|
virtual void begin(const uint8_t strobePin)=0;
|
||
|
virtual read_pins_t scan(const uint8_t strobePin)=0;
|
||
|
};
|
||
|
#endif
|