mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-27 01:56:14 +01:00
8a9feaef22
Removes overkill files, puts all timer in a single small file. (DCCTimer)
14 lines
216 B
C++
14 lines
216 B
C++
#ifndef DCCTimer_h
|
|
#define DCCTimer_h
|
|
#include "Arduino.h"
|
|
|
|
typedef void (*INTERRUPT_CALLBACK)();
|
|
|
|
class DCCTimer {
|
|
public:
|
|
static void begin(INTERRUPT_CALLBACK interrupt, bool slow=false);
|
|
private:
|
|
};
|
|
|
|
#endif
|