Added all DMX elements for later use.

main
Holger Wirtz 7 months ago
parent 3f7fe0b835
commit fce02713e2
  1. 16
      RiTCh_Lightshow.ino

@ -85,7 +85,7 @@ typedef struct {
float values[4] = { 0.0, 0.0, 0.0, 0.0 };
} dmx_spot;
#define MAX_DMX_SPOTS 2
#define MAX_DMX_SPOTS 6
dmx_spot spot[MAX_DMX_SPOTS];
@ -502,12 +502,14 @@ void setup() {
DmxSimple.maxChannel(DMX_MAX_CHANNEL);
// DMX setup
spot[0].address = 1;
spot[1].address = 5;
/* spot[2].address = 10;
spot[3].address = 14;
spot[4].address = 17;
spot[5].address = 20; */
spot[0].address = 1; // Stairville LED Par56 MKII RGBA 10mm SI https://images.thomann.de/pics/atg/atgdata/document/manual/274646_c_274644_274646_375069_v3_de_online.pdf
spot[1].address = 5; // Stairville LED Par56 MKII RGBA 10mm SI
DmxSimple.write(9,0); // Init PAR64, channel: 9, DIP 1: on, DIP 4: on, DIP 8: off
spot[2].address = 10; // Stairville PAR 64 https://images.thomann.de/pics/atg/atgdata/document/manual/c_193245_v2_r3_de_online.pdf
DmxSimple.write(15,41); // Init LED Bar for 3-segment-mode, channel: 15
spot[3].address = 17; // Stairville LED BAR RGB 252 - Segment 1 https://images.thomann.de/pics/prod/255346_manual.pdf
spot[4].address = 20; // Stairville LED BAR RGB 252 - Segment 2
spot[5].address = 23; // Stairville LED BAR RGB 252 - Segment 3
// setup audio card
#ifdef DEBUG

Loading…
Cancel
Save