15 lines
263 B
C++
15 lines
263 B
C++
#pragma once
|
|
#include <vector>
|
|
#include <stdint.h>
|
|
#include <DCCpp.h>
|
|
|
|
#ifndef UNDEFINED_PIN
|
|
#define UNDEFINED_PIN 255
|
|
#endif
|
|
|
|
class Dcc {
|
|
public:
|
|
static void begin(int dirPin, int pwmPin);
|
|
static void sendAccessory(uint16_t linearAddress, bool activate);
|
|
};
|