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
sketches-exclude: IR2Keyboard,IRUnitTest,IRrelay,IRsendDemo,IRrecord,IRreceiveDump,IRsendProntoDemo,MicroGirs,IRreceiveDemo,ReceiverTimingAnalysis,IRDispatcherDemo,LGAirConditionerSendDemo # Does not fit in FLASH or RAM # Comma separated list of example names to exclude in build
89
+
sketches-exclude: IR2Keyboard,IRUnitTest,IRrelay,IRsendDemo,ReceiveAndSend,IRreceiveDump,IRsendProntoDemo,MicroGirs,IRreceiveDemo,ReceiverTimingAnalysis,IRDispatcherDemo,LGAirConditionerSendDemo # Does not fit in FLASH or RAM # Comma separated list of example names to exclude in build
sketches-exclude: IR2Keyboard,IRUnitTest,IRrelay,IRrecord,IRreceiveDumpV2,IRsendProntoDemo,MicroGirs,IRreceiveDemo,BoseWaveSendDemo,IRDispatcherDemo,LGAirConditionerSendDemo # Does not fit in FLASH or RAM
93
+
sketches-exclude: IR2Keyboard,IRUnitTest,IRrelay,ReceiveAndSend,IRreceiveDumpV2,IRsendProntoDemo,MicroGirs,IRreceiveDemo,BoseWaveSendDemo,IRDispatcherDemo,LGAirConditionerSendDemo # Does not fit in FLASH or RAM
sketches-exclude: BoseWaveSendDemo,IR2Keyboard,IRDispatcherDemo,IRreceiveDemo,IRrecord,IRsendDemo,IRsendProntoDemo,IRsendRawDemo,IRUnitTest,LGAirConditionerSendDemo,MicroGirs,MinimalReceiver,SimpleSender # no sending yet, no tone()
110
+
sketches-exclude: BoseWaveSendDemo,IR2Keyboard,IRDispatcherDemo,IRreceiveDemo,ReceiveAndSend,IRsendDemo,IRsendProntoDemo,IRsendRawDemo,IRUnitTest,LGAirConditionerSendDemo,MicroGirs,MinimalReceiver,SimpleSender # no sending yet, no tone()
111
111
112
112
113
113
# Do not cancel all jobs / architectures if one job fails
* This file is part of Arduino-IRremote https://github.com/z3t0/Arduino-IRremote.
10
+
*
11
+
* MIT License
12
+
*/
13
+
14
+
#include<IRremote.h>
15
+
16
+
int IR_RECEIVE_PIN = 11;
17
+
18
+
voidsetup() {
19
+
Serial.begin(115200);
20
+
// Just to know which program is running on my Arduino
21
+
Serial.println(F("START " __FILE__ " from " __DATE__ "\r\nUsing library version " VERSION_IRREMOTE));
22
+
23
+
IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK); // Start the receiver, enable feedback LED, take LED feedback pin from the internal boards definition
24
+
25
+
Serial.print(F("Ready to receive IR signals at pin "));
26
+
Serial.println(IR_RECEIVE_PIN);
27
+
}
28
+
29
+
voidloop() {
30
+
/*
31
+
* Check if received data is available and if yes, try to decode it.
32
+
* Decoded result is in the IrReceiver.decodedIRData structure.
33
+
*/
34
+
if (IrReceiver.decode()) {
35
+
36
+
// Print a short summary of received data
37
+
IrReceiver.printIRResultShort(&Serial);
38
+
if (IrReceiver.decodedIRData.protocol == UNKNOWN) {
0 commit comments