if-then-else
Arduino code reference
If (conditional expression)
{
Body of the if statement when the conditional expression is true
}
else
{
Body of the else statement when the conditional expression is false
}
Body of the if statement when the conditional expression is true
Body of the else statement when the conditional expression is false