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/ScannerInterface.h

15 lines
285 B
C
Raw Normal View History

#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