It’s “Not equal” comparison. Left and right pins are boolean ( true or false). It returns true when both variables from the left side are not equal, for example:
- PIN1 - false
- PIN2 - true
Output - true
But if both variables from the left side are the same (both true OR both false) then it returns false
In pseudocode you could write it as:
if( pin1 != pin2 ){
// both variables are different
// so let's do something
}