Why does the second expression also evaluate to true in this "switch" statement?
I hope some can help me with a beginner question (this is specifically running on Arduino, but I suspect it is a much more fundamental C++ question than that). I do not understand why the following "switch" statement outputs both "Channel 1" and "Channel 2" statements: void setup() { delay(100); Serial.begin(57600); delay(100); int channel =… Read More Why does the second expression also evaluate to true in this "switch" statement?