preparing code to AVR and ESP portation

This commit is contained in:
2017-11-17 03:34:24 +03:00
parent 4e5300134e
commit d1e0a96747
6 changed files with 70 additions and 12 deletions

15
dmx.h
View File

@@ -29,9 +29,24 @@ e-mail anklimov@gmail.com
//#define DMX_OUT_PIN 3
#if defined(__AVR__)
#include <DmxSimple.h>
#endif
#if defined(__ESP__)
#include <ESP-Dmx.h>
#endif
#if defined(__SAM3X8E__)
#include <DmxSimple.h>
#endif
#include <Artnet.h>
#if defined(__AVR_ATmega2560__)
#include <DMXSerial.h>
#endif
#include "aJSON.h"
extern aJsonObject *dmxArr;