void loop() {
switch1State = digitalRead(switch1Pin);
if (switch1State == HIGH) {
send_1M_pattern(pattern_test_red, 10, 70);
}
else {
}
delay(1)
;switch3State = digitalRead(switch3Pin);
if (switch3State == HIGH) {
send_1M_pattern(pattern_test_blue, 10, 70);
}
else {
}
delay(1)
;switch2State = digitalRead(switch2Pin);
if (switch2State == HIGH) {
send_1M_pattern(pattern_test_off, 10, 70);
}
else {
}
}
My eyes hurt.
Did sendspace do that to your code?
What is the smallest sketch that still exhibits this behaviour?