I am trying to use the IR Receiver on my Ultimate 2.0 robot. I am testing it using the example code InfraredReceiverTest. It compiles and uploads fine. And, when I press any button I get the buttonState message on the serial monitor as expected from the example sketch. But the value for infraredReceiverDecode.available() is never true so infraredReceiverDecode.read() always returns 255.
Yes, I have upgraded the firmware for my MegaPi board.
Thanks as always for your help.
Gary