If you are writing some code and need an event to occur only when some other event has occurred or a specific condition has been met, an if-then statement might come in handy.  Explore how these work in the Arduino IDE:

 

FORGOT PASSWORD ?
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
We do not share your personal details with anyone.