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