Arduino Forum
switch... case 0, 2, 4, 6, 8:
Forum 2005-2010 (read only)
General
Frequently-Asked Questions
GrooveFlotilla
September 16, 2010, 9:43am
9
Yes, it will work.
Any "case" that doesn't have "break" will fall-through to the next case.
show post in topic
Related topics
Topic
Replies
Views
Activity
Swtich (newb)
Syntax & Programs
5
1534
May 6, 2021
switch case statement: use ranges? (case 0 to 10:)
Syntax & Programs
7
26405
May 6, 2021
break / case
Syntax & Programs
2
907
May 6, 2021
Switch Case problem
Deutsch
6
2459
May 6, 2021
Switch case syntax help needed
Syntax & Programs
8
2377
May 6, 2021