@mfalkvidd thanks, that change is all that's needed I think. Thanks to you and @evb for the prompt help!
bollarcreets
@bollarcreets
1
Reputation
3
Posts
1
Profile views
0
Followers
0
Following
Best posts made by bollarcreets
-
RE: 💬 Infrared Sender and Receiver
Latest posts made by bollarcreets
-
RE: 💬 Infrared Sender and Receiver
@mfalkvidd thanks, that change is all that's needed I think. Thanks to you and @evb for the prompt help!
-
RE: 💬 Infrared Sender and Receiver
@evb said in Infrared Sender and Receiver:
If you take library version 2.2.3, the script will compile.
That does indeed work - thanks!
What's the best way to get the tutorial edited to include this information?
-
RE: 💬 Infrared Sender and Receiver
Following (I think) the instructions to the letter:
- Using a Pro Mini
- Installed the IRremote library (current version through Arduino Libraries Manager: 2.8.0)
- Copied exactly the sample code
When I come to compile, I get the following error:
/home/pc/Arduino/IrSensor/IrSensor.ino: In function 'void sendRCCode(byte)': IrSensor:361:32: error: 'AIWA_RC_T501' was not declared in this scope else if (pIr->code.type == AIWA_RC_T501) { ^~~~~~~~~~~~ IrSensor:362:15: error: 'class IRsend' has no member named 'sendAiwaRCT501'; did you mean 'sendRC5'? irsend.sendAiwaRCT501(pIr->code.value); ^~~~~~~~~~~~~~ sendRC5 IrSensor:364:83: error: 'MITSUBISHI' was not declared in this scope else if (pIr->code.type == LG || pIr->code.type == SANYO || pIr->code.type == MITSUBISHI) { ^~~~~~~~~~ /home/adams-pc/Arduino/IrSensor/IrSensor.ino: In function 'void dump(decode_results*)': IrSensor:419:43: error: 'USECPERTICK' was not declared in this scope Serial.print(results->rawbuf[i]*USECPERTICK, DEC); ^~~~~~~~~~~ IrSensor:422:49: error: 'USECPERTICK' was not declared in this scope Serial.print(-(int)results->rawbuf[i]*USECPERTICK, DEC); ^~~~~~~~~~~ exit status 1 'AIWA_RC_T501' was not declared in this scope
Am I missing something?