switch

Arduino Switch case2 Statement

Arduino Switch (case) Statement, used with serial input

An if statement allows you to choose between two discrete options, TRUE or FALSE. When there are more than two options, you can use multiple if statements, or you can use the switch statement. Switch allows you to choose between several discrete options. This tutorial shows you how to use switch to turn on one of several …

Arduino Switch (case) Statement, used with serial input Read More »