Initial commit

This commit is contained in:
2017-10-02 14:13:45 +03:00
parent fb7345b339
commit 6b628d6795
13 changed files with 2814 additions and 0 deletions

25
dmx.h Normal file
View File

@@ -0,0 +1,25 @@
#define D_UPDATED1 1
#define D_UPDATED2 2
#define D_UPDATED3 4
#define D_UPDATED4 8
#define D_CHECKT 300
#define MAX_CHANNELS 60
//define MAX_IN_CHANNELS 16
//#define DMX_OUT_PIN 3
#include <DmxSimple.h>
#include <Artnet.h>
#include <DMXSerial.h>
#include "aJSON.h"
extern aJsonObject *dmxArr;
extern Artnet *artnet;
void DMXput(void);
void DMXinSetup(int channels);
void ArtnetSetup();
void DMXCheck(void);
int itemCtrl2(char* name,int r,int g, int b, int w);