Perché non puoi confrontare un tipo byte con un carattere, devi usare il tipo char. http://arduino.cc/en/Reference/Char