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

16 lines
348 B
C
Raw Normal View History

2016-07-12 13:23:24 +00:00
#ifndef STROBEPORT_H
#define STROBEPORT_H
2016-05-09 14:05:08 +00:00
#include <Arduino.h>
#include <inttypes.h>
/*
2016-07-12 13:23:24 +00:00
StrobePort is an abstract base class.
2016-05-09 14:05:08 +00:00
Port classes are the keybrd library's interface to microcontoller ports or I/O expander ports.
*/
2016-07-12 13:23:24 +00:00
class StrobePort
2016-05-09 14:05:08 +00:00
{
public:
virtual void write(const uint8_t pin, const bool level)=0;
2016-05-09 14:05:08 +00:00
};
#endif