Maybe I am tired, but I don't see what I have done wrong (obviously something)....
void transmitUniverseDMX_1() {
for (byte i = 1; i < 11; i++) {
switch (dmxuni_1TYP[i]) {
case 1:
break;
case 2:
break;
case 3:
break;
case 4:
break;
case 5:
break;
case 6:
break;
case 7:
break;
case 8:
break;
case 9:
break;
case 10:
break;
}
}
}
I get the error:
C:\Users\steve\Documents\Arduino\Teensy_4.1_main_DMXcontroller\Teesny_4.1_main_DMXcontroller\Teensy_4.1_main_DMXcontroller_v34\Teensy_4.1_main_DMXcontroller_v34.ino: In function 'void transmitUniverseDMX_1()':
C:\Users\steve\Documents\Arduino\Teensy_4.1_main_DMXcontroller\Teesny_4.1_main_DMXcontroller\Teensy_4.1_main_DMXcontroller_v34\Teensy_4.1_main_DMXcontroller_v34.ino:2491:26: warning: iteration 9u invokes undefined behavior [-Waggressive-loop-optimizations]
switch (dmxuni_1TYP[i]) { // Check what type of output the channel is
^
C:\Users\steve\Documents\Arduino\Teensy_4.1_main_DMXcontroller\Teesny_4.1_main_DMXcontroller\Teensy_4.1_main_DMXcontroller_v34\Teensy_4.1_main_DMXcontroller_v34.ino:2490:21: note: containing loop
for (int i = 1; i < 11; i++) { // Check all 10 channels