C:\Users\DELL\Desktop\sketch_aug20a\sketch_aug20a.ino: In function 'void rev()':
C:\Users\DELL\Desktop\sketch_aug20a\sketch_aug20a.ino:166:31: warning: 'bool IRrecv::decode(decode_results*)' is deprecated: Please use IrReceiver.decode() without a parameter and IrReceiver.decodedIRData.<fieldname> . [-Wdeprecated-declarations]
if (irrecv.decode(&results)) { // 解码成功,数据放入results.value变量中
^
In file included from C:\Users\DELL\Documents\Arduino\libraries\IRremote\src/IRremote.h:188:0,
from C:\Users\DELL\Desktop\sketch_aug20a\sketch_aug20a.ino:1:
C:\Users\DELL\Documents\Arduino\libraries\IRremote\src/IRReceive.cpp.h:1373:6: note: declared here
bool IRrecv::decode(decode_results *aResults) {
^~~~~~
C:\Users\DELL\Desktop\sketch_aug20a\sketch_aug20a.ino: In function 'void scan()':
C:\Users\DELL\Desktop\sketch_aug20a\sketch_aug20a.ino:189:28: warning: 'bool IRrecv::decode(decode_results*)' is deprecated: Please use IrReceiver.decode() without a parameter and IrReceiver.decodedIRData.<fieldname> . [-Wdeprecated-declarations]
if (irrecv.decode(&results)) { // 解码成功,数据放入results变量中
^
In file included from C:\Users\DELL\Documents\Arduino\libraries\IRremote\src/IRremote.h:188:0,
from C:\Users\DELL\Desktop\sketch_aug20a\sketch_aug20a.ino:1:
C:\Users\DELL\Documents\Arduino\libraries\IRremote\src/IRReceive.cpp.h:1373:6: note: declared here
bool IRrecv::decode(decode_results *aResults) {
^~~~~~