mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2025-12-11 08:56:14 +00:00
solves #195
This commit is contained in:
@@ -6,17 +6,18 @@
|
||||
* http://arcfn.com
|
||||
*/
|
||||
|
||||
|
||||
#include <IRremote.h>
|
||||
|
||||
int RECV_PIN = 11;
|
||||
IRrecv irrecv (RECV_PIN);
|
||||
IRsend irsend;
|
||||
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
if (irrecv.isIdle())
|
||||
Serial.println("Idling");
|
||||
for (int i = 0; i < 3; i++) {
|
||||
irsend.sendSony(0xa90, 12);
|
||||
delay(40);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user