Check multiple keywords in one if statement

@gcjr has a most appropriate solution.

A less intellectual, brute-force approach is to search on keywords in an array and then use the array index in your case statement. Not as polished, but easy to understand.

Here is an old example from 10 years ago:
Don't Cross The Streams (FP scientific calculator serial co-processor) - Community / Exhibition / Gallery - Arduino Forum

1 Like