Help with code that is not working correctly

Try adding some ()s, such as:

if ((incomingByte == 'H') && (buttonState == HIGH)) {