Hi everyone, To give you some background i've recently taken up playing with my Arduino again after many years so i can get a IR based project done for my partner.
I have found some instructables online to use as a base for a prototype so she can get her presentation done with a basic working prototype and then i can focus fully on learning the ins and outs during next year and do a full custom code and prototype pcb.
The project is a basic laser tag system and then ill work on features etc next year.
The issue i have been having is the: 'Not declared in this scope' error, i have the IRremote plugin downloaded but have had this issue across 2 code sets.
The images posted of a "sketch" are incomplete, a mashup of two sketches in one, with the attempt to have two receive instances (recva, recvb)... so... on this page, a known library author shows two basic IRremote sketches... although the sketches compile, you see a notification of the use of outdated software, and are advised to update.
**************************************************************************************************
Thank you for using the IRremote library!
It seems, that you are using a old version 2.0 code / example.
This version is no longer supported!
Please use one of the new code examples from the library, available at "File > Examples > Examples from Custom Libraries / IRremote".
Start with the SimpleReceiver or SimpleSender example.
The examples are documented here:
https://github.com/Arduino-IRremote/Arduino-IRremote#examples-for-this-library
A guide how to convert your 2.0 program is here:
https://github.com/Arduino-IRremote/Arduino-IRremote#converting-your-2x-program-to-the-4x-version
Thanks
**************************************************************************************************