Arduino Code: Conditional Statements

Published: 08 May 2017
on channel: SparkFun Electronics
65,100
728

We examine the ever-important conditional statement, which for C, takes the form of if/else/then. In order to use them effectively, you'll need to know how to use the relational operators, which compare two numbers (e.g. are two numbers equal?). Knowing these can help you do things like see if a button has been pushed in Arduino.

The Arduino reference page calls them "comparison operators," which can be found here: https://www.arduino.cc/en/Reference/H...


Watch video Arduino Code: Conditional Statements online, duration hours minute second in high quality that is uploaded to the channel SparkFun Electronics 08 May 2017. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 65,100 times and liked it 728 visitors.