Go Down

Topic: IR Reciever deprecation error (Read 133 times) previous topic - next topic

needlebeard

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.





pylon

Never, never post code as an image!

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

Go Up