Arduino Programming: Logical Operators

We go over the basic Boolean operators in C and how to use them to make compound conditional statements. When dealing with Boolean logic, we must assume that variables can only have one of two values: true or false. From there, we have three fundamental operators: NOT, AND, OR. We can combine them to make other operations, like exclusive OR (XOR). Using these operators, we can make compound conditional statements to do things like look for the moment when a button was pushed. Materials: SparkFun RedBoard - Programmed with Arduino: https://www.sparkfun.com/products/13975 Breadboard: https://www.sparkfun.com/products/12002 Pushbutton: https://www.sparkfun.com/products/9190 Jumper Wires: https://www.sparkfun.com/products/11026