switch { } need help

gardner:

retrolefty:
Isn't Wiring just a C function. At least that is what I see when I look at the Arduino core source files.

"Wiring" is the name of the language/environment that is implemented for Arduino development.
Wiring (software) - Wikipedia

In practice, it is just C with a dash of C++, some training wheels, and some bits and bobs whose purpose seems mainly to confuse folks who are used to C or C++, so I can understand your confusion.

Calling Wiring a programming language is just wrong. It may be a helpful way to explain to raw beginners how the IDE, their sketches, and the arduino hardware work together but it's an improper usage of 'programming language', at least in my opinion.

Lefty