mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-07 13:52:47 +00:00
22 lines
354 B
C++
22 lines
354 B
C++
/*
|
|
* IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
|
|
* An IR LED must be connected to Arduino PWM pin 3.
|
|
* Version 0.1 July, 2009
|
|
* Copyright 2009 Ken Shirriff
|
|
* http://arcfn.com
|
|
*/
|
|
|
|
#include <IRremote.h>
|
|
|
|
IRrecv irrecv;
|
|
|
|
void setup()
|
|
{
|
|
Serial.begin(115200);
|
|
}
|
|
|
|
void loop() {
|
|
if (irrecv.isIdle())
|
|
Serial.println("Idling");
|
|
}
|