This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
IR_remote_tester_and_detector | |
Connect the output pin of Infrared remote to DIG 2 | |
Connect an LED to pin 13. | |
*/ | |
#include <IRremote.h> | |
const int irReceiverPin = 2; | |
const int ledPin = 13; | |
IRrecv irrecv(irReceiverPin); //create an IRrecv object |