Adventures in Science – Arduino Logic Operators: A New video by SparkFun Electronics
Adventures in Science – Arduino Logic 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: http://ift.tt/2m1BxO9
Breadboard: http://ift.tt/HVUudx
Pushbutton: http://ift.tt/1hJA0zT
Jumper Wires: http://ift.tt/1cYStcm