Example of infrared to send data

This commit is contained in:
blackd0t
2020-04-24 15:24:20 +03:00
parent 6be5c100e9
commit a2d856e4bc
+15
View File
@@ -0,0 +1,15 @@
#include <IRremote.h>
IRsend irsend;
void setup()
{
Serial.begin(9600);
}
void loop()
{
for (int i = 0; i < 50; i++) {
irsend.sendSony(0xa90, 12); // Sony TV power code
delay(40);
}
}