fix buttonState error pin for infrared receiver