From fce02713e23ad86441a8b66b00e10165178936d2 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Wed, 3 Apr 2024 13:00:20 +0200 Subject: [PATCH] Added all DMX elements for later use. --- RiTCh_Lightshow.ino | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/RiTCh_Lightshow.ino b/RiTCh_Lightshow.ino index 9a58c57..e6b84d4 100644 --- a/RiTCh_Lightshow.ino +++ b/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