If Else - Conditional Statement Examples
A Simple If Else Conditional Statement - Mood Detector
To see an example of an "if" "else" statement follow the button to the example called "mood detector".
|
If Else - Button Delay
Used to indicate if the button is pushed (HIGH) then something happens.
|
If Else - Button Piano
Used to indicate if a specific button is pushed then (else) play a specific tone.
|
if Else - Ultra Sonic SensorUsed to indicate if a certain distance is established then turn on or off an LED light.
|