mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-08-28 17:29:31 +00:00
19 lines
363 B
C++
19 lines
363 B
C++
#include <Arduino.h>
|
|
|
|
#include "physicalpaddles.h"
|
|
|
|
class TeensyPaddles : public PhysicalPaddles {
|
|
public:
|
|
TeensyPaddles(uint8_t p0pin, uint8_t p1pin, bool p0rev, bool p1rev);
|
|
virtual ~TeensyPaddles();
|
|
|
|
virtual uint8_t paddle0();
|
|
virtual uint8_t paddle1();
|
|
virtual void startReading();
|
|
|
|
uint8_t p0pin;
|
|
uint8_t p1pin;
|
|
bool p0rev;
|
|
bool p1rev;
|
|
};
|