if variable is not this or this arduino code example
Example: is not equal to arduino
if (x != y) { // tests if x is not equal to y
// do something only if the comparison result is true
}
if (x != y) { // tests if x is not equal to y
// do something only if the comparison result is true
}