IR Reciever deprecation error

I am trying to map the hex code of the buttons on my remotes and have code widely used for this project. However once I run the project on my Arduino Uno, I get an error "The function decode(&results)) is deprecated and may not work as expected! Just use decode() - without any parameter.". Following these instructions, no error occurs at compile but when I press a button on any of my remotes 0 is all that prints out.

Never, never post code as an image!

Remove the locally devined results variable and use irrecv.results instead.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.