Arduino Logical Expressions Discrete