mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
17 lines
307 B
C++
17 lines
307 B
C++
#ifndef Railcom_h
|
|
#define Railcom_h
|
|
|
|
#include <Arduino.h>
|
|
class Railcom {
|
|
public:
|
|
static void startCutout();
|
|
static void interrupt();
|
|
private:
|
|
static byte interruptState;
|
|
static byte bitsReceived;
|
|
static const byte MAX_BUFFER=20;
|
|
static byte buffer[MAX_BUFFER];
|
|
};
|
|
|
|
#endif
|