From c6f852254ee4caf113c512218d9c2e0dfb52873f Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sun, 7 Apr 2024 11:47:42 +0200 Subject: [PATCH] Fixes. --- RiTCh_Lightshow.ino | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/RiTCh_Lightshow.ino b/RiTCh_Lightshow.ino index 211f106..4af4f64 100644 --- a/RiTCh_Lightshow.ino +++ b/RiTCh_Lightshow.ino @@ -43,10 +43,10 @@ #define DMX_HOLD_TIME 2 #define DMX_FOG_LEVEL 3 -#define MIN_DMX_FADE_TIME 1 -#define MAX_DMX_FADE_TIME 15 -#define MIN_DMX_HOLD_TIME 3 -#define MAX_DMX_HOLD_TIME 30 +#define MIN_DMX_FADE_TIME 1.0 +#define MAX_DMX_FADE_TIME 15.0 +#define MIN_DMX_HOLD_TIME 3.0 +#define MAX_DMX_HOLD_TIME 30.0 #define ON_OFF_FADE_TIME 1.5 // Arduino pins @@ -518,12 +518,13 @@ void setup() { // DMX setup 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 + DmxSimple.write(9, 63); // 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 +// Nebelmaschine: https://images.static-thomann.de/pics/atg/atgdata/document/manual/307680_c_307680_v4_de_online.pdf // setup audio card #ifdef DEBUG