Hi, trying to compile this code but getting the following error -
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope
int RECV_PIN = TKD2; // the pin the IR receiver is connected to
^
Error compiling.
Any ideas how to fix? Am I missing a library?
Supernova_poi
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- GoldingArts
- Posts: 7
- Joined: Fri Apr 15, 2016 7:59 pm
Re: Supernova_poi
Ok, everything working, but not the remote. All contacts are good, any way to test the remote? any coders out there can make the led blink on button press to test?
Just one thing, the library IRremote comes up during compiling - C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\IRremote (legacy)
Will legacy be causing an issue?
Just one thing, the library IRremote comes up during compiling - C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\IRremote (legacy)
Will legacy be causing an issue?
- GoldingArts
- Posts: 7
- Joined: Fri Apr 15, 2016 7:59 pm
Re: Supernova_poi
Got a test running, serial monitor showing FFFFFFFF whenever a key is pressed. How can this be fixed? Any ideas?
- GoldingArts
- Posts: 7
- Joined: Fri Apr 15, 2016 7:59 pm
Re: Supernova_poi
Anyone????? I ahve 3 sets of these to build over the next week so would appreciate some feedback from the team.
- drewfustini
- Posts: 944
- Joined: Sat Dec 26, 2015 1:19 pm
Re: Supernova_poi
Are you following this tutorial?
You will need to install the IRremote Library3. Teensy's Version of IRremote Library
The IRremote library is a really popular way to add IR support to arduino projects. The folks who make the Teensy have updated it to work with Teensy 3.1-3.2, so you'll need to be sure you have the right version of IRremote.
This library can be fetched from PJRC.com and installed manually.
Download: IRremote.zip (modified to work on Teensy and other boards)
- drewfustini
- Posts: 944
- Joined: Sat Dec 26, 2015 1:19 pm
Re: Supernova_poi
Please read this GitHub issue:
https://github.com/z3t0/Arduino-IRremote/issues/98
https://github.com/z3t0/Arduino-IRremote/issues/98
'TKD2' was not declared in this scope #98
Closed
farzher opened this Issue on 15 Nov 2014 · 7 comments
- tripflex
- Posts: 3
- Joined: Mon Jul 06, 2015 2:11 pm
Re: Supernova_poi
I tried using that library and still only get FFFFFFF in the console
- GoldingArts
- Posts: 7
- Joined: Fri Apr 15, 2016 7:59 pm
Re: Supernova_poi
Same here, gave up on the remote in the end.
- Doogit
- Posts: 1
- Joined: Mon Aug 15, 2016 1:51 pm
Re: Supernova_poi
Hey guys, did anyone come up with a solution for this issue?
I've tried reinstalling the IRRemote library, removing the RobotIRRemote library (in case of conflicts) and looking online elsewhere but my serial monitor still reads "FFFFFFFF" for every button press on my remote.
Any ideas?
I've tried reinstalling the IRRemote library, removing the RobotIRRemote library (in case of conflicts) and looking online elsewhere but my serial monitor still reads "FFFFFFFF" for every button press on my remote.
Any ideas?
- GoldingArts
- Posts: 7
- Joined: Fri Apr 15, 2016 7:59 pm
Re: Supernova_poi
Hi, sorry no, gave up on the remote in the end, no response from Adafruit about this either.
- giogorini950
- Posts: 1
- Joined: Tue Aug 30, 2016 4:00 pm
Re: Supernova_poi
Hey I got the remote working. It must be an issue with the the code in the iRemote library (v1.29 on the website). Manually add this more recent version (v2.2.1) and it will start working.
https://github.com/z3t0/Arduino-IRremote
https://github.com/z3t0/Arduino-IRremote
- laazarus
- Posts: 13
- Joined: Tue Dec 20, 2016 7:50 pm
Re: Supernova_poi
I can confirm this works. I initially made a point of not installing the library from teensyduino and manually installed the library from the zip in the article. every thing compiled and the LED's worked but the remote was unresponsive. Dropped in the librarry from this post and it fires up straight away. I'm using a teensy 3.2.giogorini950 wrote:Hey I got the remote working. It must be an issue with the the code in the iRemote library (v1.29 on the website). Manually add this more recent version (v2.2.1) and it will start working.
https://github.com/z3t0/Arduino-IRremote
- KasHoogeveen
- Posts: 11
- Joined: Mon Jan 16, 2017 6:13 pm
Re: Supernova_poi
I tried this library as well. The POI are just not responding AT ALL.
- laazarus
- Posts: 13
- Joined: Tue Dec 20, 2016 7:50 pm
Re: Supernova_poi
when you say not responding do you mean they aren't controllable with the remote or they aren't lighting up at all? are you using the remote from adafruit?KasHoogeveen wrote:I tried this library as well. The POI are just not responding AT ALL.
- KasHoogeveen
- Posts: 11
- Joined: Mon Jan 16, 2017 6:13 pm
Re: Supernova_poi
They light up, and then become unresponsive to the remote.laazarus wrote:when you say not responding do you mean they aren't controllable with the remote or they aren't lighting up at all? are you using the remote from adafruit?KasHoogeveen wrote:I tried this library as well. The POI are just not responding AT ALL.
I'm using one of my own remotes, and this one does work with the IR module on my Arduino UNO..
Yes, they use different HEX codes but that shouldn't be a problem. I already changed the codes n the program.
Whatever button I'm using, it just does not respond to anything.
In the serial monitor it keeps giving FFFFFF (many, many, maaaaaany lines of FFFFFFF)
Any ideas?
Please be positive and constructive with your questions and comments.