Files
lighthub/options.h

31 lines
489 B
C

// Configuration of drivers enabled
#define _dmxin
#define _dmxout
#define _owire
#define _modbus
#define _artnet
#if defined(__AVR__)
//All options available
#define modbusSerial Serial2
#endif
#if defined(__SAM3X8E__)
/// DMX not deployed yet
#undef _dmxin
#define modbusSerial Serial2
#define dmxout DmxDue4
#define dmxin DmxDue1
#endif
#if defined(ESP_PLATFORM)
#undef _dmxin
#undef _dmxout
#define modbusSerial Serial
#endif
#ifndef _dmxout
#undef _artnet
#endif