1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-25 13:41:23 +01:00
CommandStation-EX/Railcom.h

17 lines
307 B
C
Raw Normal View History

2020-05-27 10:40:12 +02:00
#ifndef Railcom_h
#define Railcom_h
2020-05-26 18:06:15 +02:00
#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];
};
2020-05-27 10:40:12 +02:00
#endif