Hi there all together
I just ran into a slot problem with typical T_19 which gave me some headache - maybe one of you guys can see an easy explanation for this.....
So far, I got a basically running program (testwise!) using two of T_19 typicals for LED-strips on a single node. So good so far. Therefore I know, the program itself on Arduino Mega runs technically correct without failure. Checked.
I would expect for T_19 (as determined, requires 2 slots each!) a code like this for slots should work:
#define LEDCUBE1 0 // This is the T_19 memory slot for the logic that handle LED-Cube_1
#define LEDCUBE1bright 1 // This is the memory slot for the logic that handle LED-Cube_1 brightness
#define LEDCUBE2 2 // This is the T_19 memory slot for the logic that handle LED-Cube_2
#define LEDCUBE2bright 3 // This is the memory slot for the logic that handle LED-Cube_2 brightness
Nevertheless, this won't work. Although both T_19 typicals (on slots 0 and 2) have been assigned with 2 slots each.
Control-problems via mobileApp on the above:
The LED on slot 2 will not start, IF LED on slot0 is activated prior to this one. LED on Slot 2 will only start if activeted first. Then I can toggle on LED on slot0. Nevertheless, if typical on slot0 has been activated, typical on slot2 is frozen and cannot be manipuated anymore untill typical on slot0 has been toggled off again.
IF I use a code like this, the program & App-controls run smoothly without failure...:
#define LEDCUBE1 0 // This is the T_19 memory slot for the logic that handle LED-Cube_1
#define LEDCUBE1bright 1 // This is the memory slot for the logic that handle LED-Cube_1 brightness
#define LEDCUBE2
3 // This is the T_19 memory slot for the logic that handle LED-Cube_2
#define LEDCUBE2bright 4 // This is the memory slot for the logic that handle LED-Cube_2 brightness
But here I'mI missing slot2 - and I will need the capacity for as much slots as possible for additional LED-controls.
Did I get some particulars wrong ?!
Maybe you can share some thoughts about what could be the problem (of course I can also add some more code lines - this was just the minimal basic problem I could focus on to describe the failure...)
Many thanks in advance, Niels