You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on Osoyoo robot car kit, Basic Lesson 16: IR Transmitting Module and IR Receiving Module. I attempted to verify the sketch, but I received the following error message. Is there something wrong with my my sketch or am I missing a library?
C:\Users\heard\AppData\Local\Temp\Temp1_IR_transmitting (2).zip\IR_transmitting\IR_transmitting.ino: In function 'void loop()':
IR_transmitting:10:30: error: no matching function for call to 'IRsend::sendNEC(long int, int)'
irsend.sendNEC(0xFF02FD, 32); //The code 'FF02FD' is the received infrared code
^
In file included from C:\Users\heard\Documents\Arduino\libraries\IRremote\src/IRremote.h:94:0,
from C:\Users\heard\AppData\Local\Temp\Temp1_IR_transmitting (2).zip\IR_transmitting\IR_transmitting.ino:1:
C:\Users\heard\Documents\Arduino\libraries\IRremote\src/IRremoteInt.h:380:10: note: candidate: void IRsend::sendNEC(uint16_t, uint8_t, uint_fast8_t, bool)
void sendNEC(uint16_t aAddress, uint8_t aCommand, uint_fast8_t aNumberOfRepeats, bool aIsRepeat = false);
^~~~~~~
C:\Users\heard\Documents\Arduino\libraries\IRremote\src/IRremoteInt.h:380:10: note: candidate expects 4 arguments, 2 provided
Multiple libraries were found for "IRremote.h"
Used: C:\Users\heard\Documents\Arduino\libraries\IRremote
Not used: C:\Users\heard\Documents\Arduino\libraries\Arduino-IRremote-master
exit status 1
no matching function for call to 'IRsend::sendNEC(long int, int)'
The text was updated successfully, but these errors were encountered:
Working on Osoyoo robot car kit, Basic Lesson 16: IR Transmitting Module and IR Receiving Module. I attempted to verify the sketch, but I received the following error message. Is there something wrong with my my sketch or am I missing a library?
C:\Users\heard\AppData\Local\Temp\Temp1_IR_transmitting (2).zip\IR_transmitting\IR_transmitting.ino: In function 'void loop()':
IR_transmitting:10:30: error: no matching function for call to 'IRsend::sendNEC(long int, int)'
irsend.sendNEC(0xFF02FD, 32); //The code 'FF02FD' is the received infrared code
^
In file included from C:\Users\heard\Documents\Arduino\libraries\IRremote\src/IRremote.h:94:0,
from C:\Users\heard\AppData\Local\Temp\Temp1_IR_transmitting (2).zip\IR_transmitting\IR_transmitting.ino:1:
C:\Users\heard\Documents\Arduino\libraries\IRremote\src/IRremoteInt.h:380:10: note: candidate: void IRsend::sendNEC(uint16_t, uint8_t, uint_fast8_t, bool)
void sendNEC(uint16_t aAddress, uint8_t aCommand, uint_fast8_t aNumberOfRepeats, bool aIsRepeat = false);
^~~~~~~
C:\Users\heard\Documents\Arduino\libraries\IRremote\src/IRremoteInt.h:380:10: note: candidate expects 4 arguments, 2 provided
Multiple libraries were found for "IRremote.h"
Used: C:\Users\heard\Documents\Arduino\libraries\IRremote
Not used: C:\Users\heard\Documents\Arduino\libraries\Arduino-IRremote-master
exit status 1
no matching function for call to 'IRsend::sendNEC(long int, int)'
The text was updated successfully, but these errors were encountered: