We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 312d39e commit 625a50bCopy full SHA for 625a50b
examples/IRsendDemo/IRsendDemo.ino
@@ -35,6 +35,15 @@
35
36
IRsend irsend(4); // An IR LED is controlled by GPIO pin 4 (D2)
37
38
+// Example of data captured by IRrecvDumpV2.ino
39
+uint16_t rawData[67] = {9000, 4500, 650, 550, 650, 1650, 600, 550, 650, 550,
40
+ 600, 1650, 650, 550, 600, 1650, 650, 1650, 650, 1650,
41
+ 600, 550, 650, 1650, 650, 1650, 650, 550, 600, 1650,
42
+ 650, 1650, 650, 550, 650, 550, 650, 1650, 650, 550,
43
+ 650, 550, 650, 550, 600, 550, 650, 550, 650, 550,
44
+ 650, 1650, 600, 550, 650, 1650, 650, 1650, 650, 1650,
45
+ 650, 1650, 650, 1650, 650, 1650, 600};
46
+
47
void setup() {
48
irsend.begin();
49
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
@@ -47,4 +56,7 @@ void loop() {
56
Serial.println("Sony");
57
irsend.sendSony(0xa90, 12, 2);
58
delay(2000);
59
+ Serial.println("a rawData capture from IRrecvDumpV2");
60
+ irsend.sendRaw(rawData, 67, 38); // Send a raw data capture at 38kHz.
61
+ delay(2000);
50
62
}
0 commit comments