548 lines
20 KiB
Plaintext
548 lines
20 KiB
Plaintext
START ../src/UnitTest.cpp from Aug 27 2022
|
|
Using library version 3.8.0
|
|
Ready to receive IR signals of protocols: NEC/NEC2/Onkyo/Apple, Panasonic/Kaseikyo, Denon/Sharp, Sony, RC5, RC6, LG, JVC, Samsung, Whynter, Lego Power Functions, Bosewave , MagiQuest, Pulse Distance, Hash at pin 2
|
|
Ready to send IR signals at pin 3
|
|
Send signal mark duration for 38kHz is 8 us, pulse correction is 3000 ns, total period is 26 us
|
|
5000 us is the (minimum) gap, after which the start of a new IR packet is assumed
|
|
10 us are subtracted from all marks and added to all spaces for decoding
|
|
|
|
address=0xFFF1 command=0x76
|
|
|
|
Send NEC with 8 bit address
|
|
Protocol=NEC Address=0xF1 Command=0x76 Raw-Data=0x89760EF1 32 bits LSB first
|
|
Send with: IrSender.sendNEC(0xF1, 0x76, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1038100
|
|
+8850,-4450
|
|
+ 600,-1650 + 550,- 550 + 600,- 500 + 600,- 550
|
|
+ 600,-1650 + 550,-1650 + 600,-1650 + 600,-1650
|
|
+ 550,- 550 + 600,-1650 + 600,-1650 + 550,-1650
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,- 550
|
|
+ 600,- 550 + 550,-1650 + 600,-1650 + 600,- 500
|
|
+ 600,-1650 + 600,-1650 + 550,-1650 + 600,- 550
|
|
+ 550,-1650 + 650,- 500 + 550,- 550 + 600,-1650
|
|
+ 600,- 500 + 600,- 550 + 550,- 550 + 600,-1650
|
|
+ 600
|
|
Sum: 67600
|
|
|
|
Send NEC with 16 bit address
|
|
Protocol=NEC Address=0xFFF1 Command=0x76 Raw-Data=0x8976FFF1 32 bits LSB first
|
|
Send with: IrSender.sendNEC(0xFFF1, 0x76, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1045100
|
|
+8900,-4450
|
|
+ 550,-1650 + 600,- 550 + 550,- 550 + 600,- 550
|
|
+ 600,-1600 + 600,-1650 + 600,-1650 + 600,-1650
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 550,-1650
|
|
+ 600,-1650 + 600,-1600 + 600,-1650 + 600,-1650
|
|
+ 600,- 500 + 600,-1650 + 600,-1650 + 550,- 550
|
|
+ 600,-1650 + 600,-1650 + 600,-1600 + 650,- 500
|
|
+ 550,-1700 + 600,- 500 + 600,- 550 + 550,-1650
|
|
+ 600,- 550 + 600,- 500 + 600,- 550 + 600,-1600
|
|
+ 650
|
|
Sum: 73250
|
|
|
|
Sending NEC Pronto data with 8 bit address 0x80 and command 0x45 and no repeats
|
|
Protocol=NEC Address=0x80 Command=0x45 Raw-Data=0xBA457F80 32 bits LSB first
|
|
Send with: IrSender.sendNEC(0x80, 0x45, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1054350
|
|
+9050,-4400
|
|
+ 600,- 550 + 600,- 550 + 600,- 600 + 550,- 550
|
|
+ 650,- 500 + 650,- 550 + 600,- 550 + 600,-1600
|
|
+ 600,-1650 + 600,-1600 + 600,-1600 + 550,-1650
|
|
+ 600,-1600 + 600,-1600 + 600,-1600 + 600,- 550
|
|
+ 600,-1600 + 600,- 550 + 600,-1600 + 600,- 550
|
|
+ 600,- 500 + 650,- 500 + 650,-1600 + 600,- 550
|
|
+ 650,- 500 + 650,-1550 + 600,- 550 + 600,-1600
|
|
+ 600,-1600 + 600,-1650 + 600,- 500 + 650,-1600
|
|
+ 600
|
|
Sum: 67800
|
|
|
|
Send NEC 16 bit address=0xFB04 and command 0x08 with exact timing (16 bit array format)
|
|
Protocol=NEC Address=0x4 Command=0x8 Raw-Data=0xF708FB04 32 bits LSB first
|
|
Send with: IrSender.sendNEC(0x4, 0x8, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1050150
|
|
+8950,-4400
|
|
+ 600,- 550 + 600,- 500 + 600,-1700 + 550,- 550
|
|
+ 600,- 500 + 600,- 550 + 600,- 550 + 550,- 550
|
|
+ 600,-1650 + 600,-1650 + 600,- 550 + 550,-1700
|
|
+ 550,-1650 + 600,-1650 + 600,-1700 + 550,-1700
|
|
+ 550,- 550 + 600,- 500 + 600,- 550 + 600,-1650
|
|
+ 550,- 550 + 600,- 550 + 600,- 500 + 600,- 550
|
|
+ 600,-1650 + 600,-1650 + 600,-1650 + 550,- 550
|
|
+ 600,-1650 + 600,-1650 + 600,-1700 + 550,-1650
|
|
+ 600
|
|
Sum: 67950
|
|
|
|
Send NEC / ONKYO with 16 bit address 0x0102 and 16 bit command 0x0304 with NECRaw(0x03040102)
|
|
Protocol=Onkyo Address=0x102 Command=0x304 Raw-Data=0x3040102 32 bits LSB first
|
|
Send with: IrSender.sendOnkyo(0x102, 0x304, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1050250
|
|
+8900,-4450
|
|
+ 550,- 550 + 600,-1600 + 600,- 550 + 600,- 500
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,- 550
|
|
+ 600,-1650 + 550,- 550 + 600,- 550 + 550,- 550
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,- 550
|
|
+ 600,- 550 + 550,- 550 + 600,-1650 + 550,- 550
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,- 550
|
|
+ 600,-1650 + 600,-1600 + 600,- 550 + 600,- 500
|
|
+ 600,- 550 + 600,- 500 + 600,- 550 + 600,- 550
|
|
+ 550
|
|
Sum: 55400
|
|
|
|
Send NEC with 16 bit address 0x0102 and command 0x34 with old 32 bit format MSB first
|
|
Protocol=NEC Address=0x102 Command=0x34 Raw-Data=0xCB340102 32 bits LSB first
|
|
Send with: IrSender.sendNEC(0x102, 0x34, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1050700
|
|
+8850,-4450
|
|
+ 600,- 550 + 600,-1650 + 550,- 550 + 600,- 550
|
|
+ 550,- 550 + 600,- 550 + 550,- 550 + 600,- 550
|
|
+ 550,-1650 + 600,- 550 + 550,- 550 + 600,- 550
|
|
+ 550,- 550 + 600,- 550 + 550,- 550 + 600,- 550
|
|
+ 550,- 550 + 600,- 500 + 600,-1650 + 600,- 550
|
|
+ 550,-1650 + 600,-1650 + 600,- 500 + 600,- 550
|
|
+ 600,-1650 + 550,-1650 + 600,- 550 + 550,-1650
|
|
+ 600,- 550 + 600,- 550 + 550,-1650 + 650,-1650
|
|
+ 550
|
|
Sum: 61000
|
|
|
|
Send Panasonic 0xB, 0x10 as generic PulseDistance
|
|
LSB first
|
|
Protocol=Panasonic Address=0xB Command=0x10 Raw-Data=0xA01000B0 48 bits LSB first
|
|
Send with: IrSender.sendPanasonic(0xB, 0x10, <numberOfRepeats>);
|
|
rawData[100]:
|
|
-1048150
|
|
+3450,-1650
|
|
+ 450,- 400 + 450,-1250 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 350
|
|
+ 450,- 400 + 450,-1300 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 450,-1200 + 450,-1300 + 450,- 400 + 450,-1250
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 350
|
|
+ 450,-1250 + 500,- 400 + 450,- 400 + 400,- 400
|
|
+ 450,- 400 + 450,- 450 + 450,- 400 + 450,- 350
|
|
+ 450,- 400 + 450,-1300 + 450,- 400 + 450,-1250
|
|
+ 450
|
|
Sum: 53150
|
|
|
|
MSB first
|
|
Protocol=Panasonic Address=0xB Command=0x10 Raw-Data=0xA01000B0 48 bits LSB first
|
|
Send with: IrSender.sendPanasonic(0xB, 0x10, <numberOfRepeats>);
|
|
rawData[100]:
|
|
-1061400
|
|
+3450,-1700
|
|
+ 450,- 400 + 450,-1250 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 400,- 450 + 450,- 400
|
|
+ 450,- 400 + 450,-1200 + 450,- 450 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 400,-1250 + 500,-1200 + 500,- 350 + 500,-1250
|
|
+ 450,- 400 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,- 400 + 400,- 450 + 450,- 450
|
|
+ 450,- 350 + 450,- 400 + 500,- 350 + 450,- 400
|
|
+ 450,-1250 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 400,- 450 + 450,- 400 + 450,- 400 + 450,- 400
|
|
+ 450,- 400 + 450,-1250 + 450,- 400 + 400,-1300
|
|
+ 450
|
|
Sum: 53200
|
|
|
|
Send generic 56 bit PulseDistance 0x43D8613C and 0x3BC3BC LSB first
|
|
Protocol=PulseDistance Raw-Data=0x3BC3BC 56 bits LSB first
|
|
Send with:
|
|
uint32_t tRawData[]={0x43D8613C, 0x3BC3BC};
|
|
IrSender.sendPulseDistanceWidthFromArray(38, 8800, 4400, 550, 1700, 550, 600, &tRawData[0], 56, PROTOCOL_IS_LSB_FIRST, <millisofRepeatPeriod>, <numberOfRepeats>);
|
|
rawData[116]:
|
|
-1067200
|
|
+8800,-4400
|
|
+ 550,- 600 + 550,- 600 + 550,-1650 + 550,-1700
|
|
+ 550,-1700 + 550,-1650 + 550,- 600 + 550,- 600
|
|
+ 550,-1700 + 550,- 600 + 550,- 600 + 550,- 600
|
|
+ 550,- 600 + 550,-1650 + 550,-1700 + 550,- 600
|
|
+ 550,- 600 + 550,- 600 + 550,- 600 + 550,-1650
|
|
+ 550,-1700 + 550,- 600 + 550,-1700 + 550,-1650
|
|
+ 550,-1700 + 550,-1700 + 550,- 600 + 550,- 600
|
|
+ 550,- 600 + 550,- 600 + 550,-1650 + 550,- 600
|
|
+ 550,- 600 + 550,- 600 + 550,-1700 + 550,-1650
|
|
+ 550,-1700 + 550,-1700 + 550,- 600 + 550,-1650
|
|
+ 600,-1650 + 550,-1700 + 550,- 600 + 550,- 650
|
|
+ 500,- 600 + 550,- 600 + 550,-1650 + 550,-1700
|
|
+ 550,-1700 + 550,-1650 + 600,- 600 + 550,-1650
|
|
+ 550,-1700 + 550,-1700 + 550,- 600 + 550,- 600
|
|
+ 550
|
|
Sum: 108450
|
|
|
|
Send Onkyo (NEC with 16 bit command)
|
|
Protocol=Onkyo Address=0xFFF1 Command=0x7676 Raw-Data=0x7676FFF1 32 bits LSB first
|
|
Send with: IrSender.sendOnkyo(0xFFF1, 0x7676, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1064500
|
|
+8900,-4500
|
|
+ 500,-1650 + 600,- 550 + 600,- 500 + 600,- 550
|
|
+ 550,-1700 + 550,-1650 + 600,-1650 + 600,-1650
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 550,-1650
|
|
+ 600,-1650 + 600,-1650 + 600,-1600 + 600,-1650
|
|
+ 600,- 500 + 600,-1650 + 600,-1650 + 550,- 550
|
|
+ 600,-1650 + 550,-1650 + 600,-1650 + 600,- 550
|
|
+ 550,- 550 + 600,-1650 + 600,-1600 + 650,- 500
|
|
+ 600,-1650 + 600,-1600 + 600,-1650 + 550,- 550
|
|
+ 600
|
|
Sum: 75400
|
|
|
|
Send Apple
|
|
Protocol=Apple Address=0xF1 Command=0x76 Raw-Data=0xF17687EE 32 bits LSB first
|
|
Send with: IrSender.sendApple(0xF1, 0x76, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1044500
|
|
+8900,-4500
|
|
+ 500,- 550 + 600,-1650 + 550,-1650 + 600,-1650
|
|
+ 550,- 550 + 600,-1650 + 600,-1650 + 550,-1650
|
|
+ 600,-1650 + 600,-1650 + 550,-1650 + 600,- 550
|
|
+ 600,- 500 + 600,- 550 + 550,- 550 + 600,-1650
|
|
+ 600,- 500 + 600,-1650 + 600,-1650 + 550,- 550
|
|
+ 600,-1650 + 600,-1600 + 600,-1650 + 600,- 550
|
|
+ 550,-1650 + 600,- 550 + 550,- 550 + 550,- 600
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 550,-1700
|
|
+ 550
|
|
Sum: 72050
|
|
|
|
Send Panasonic
|
|
Protocol=Panasonic Address=0xFF1 Command=0x76 Raw-Data=0x9976FF10 48 bits LSB first
|
|
Send with: IrSender.sendPanasonic(0xFF1, 0x76, <numberOfRepeats>);
|
|
rawData[100]:
|
|
-1044250
|
|
+3500,-1650
|
|
+ 450,- 400 + 450,-1250 + 450,- 450 + 450,- 400
|
|
+ 450,- 450 + 400,- 450 + 450,- 400 + 450,- 450
|
|
+ 400,- 450 + 450,- 400 + 450,- 450 + 400,- 450
|
|
+ 450,- 400 + 450,-1300 + 400,- 450 + 450,- 400
|
|
+ 450,- 450 + 400,- 450 + 450,- 400 + 450,- 450
|
|
+ 400,-1300 + 450,- 400 + 450,- 450 + 400,- 450
|
|
+ 450,-1300 + 400,-1300 + 450,-1250 + 450,-1300
|
|
+ 450,-1250 + 450,-1300 + 400,-1300 + 400,-1300
|
|
+ 450,- 450 + 400,-1300 + 450,-1250 + 450,- 450
|
|
+ 450,-1250 + 450,-1300 + 450,-1250 + 450,- 400
|
|
+ 450,-1300 + 400,- 450 + 450,- 400 + 450,-1300
|
|
+ 400,-1300 + 450,- 400 + 450,- 450 + 400,-1300
|
|
+ 450
|
|
Sum: 64250
|
|
|
|
Send Kaseikyo with 0x4711 as Vendor ID
|
|
Protocol=Kaseikyo Address=0xFF1 Command=0x76 Extra=0x4711 Raw-Data=0x9A76FF13 48 bits LSB first
|
|
Send with: IrSender.sendKaseikyo(0xFF1, 0x76, <numberOfRepeats>, 0x4711);
|
|
rawData[100]:
|
|
-1064850
|
|
+3450,-1700
|
|
+ 400,-1300 + 450,- 400 + 450,- 450 + 400,- 450
|
|
+ 450,-1250 + 450,- 450 + 400,- 450 + 450,- 400
|
|
+ 450,-1300 + 450,-1250 + 450,-1300 + 450,- 400
|
|
+ 450,- 450 + 400,- 450 + 450,-1250 + 450,- 450
|
|
+ 400,-1300 + 450,-1300 + 400,- 450 + 450,- 400
|
|
+ 450,-1250 + 450,- 450 + 450,- 400 + 450,- 400
|
|
+ 450,-1300 + 400,-1300 + 450,-1300 + 450,-1250
|
|
+ 450,-1250 + 450,-1300 + 400,-1300 + 450,-1300
|
|
+ 450,- 400 + 400,-1300 + 450,-1250 + 500,- 400
|
|
+ 400,-1300 + 450,-1300 + 400,-1300 + 450,- 400
|
|
+ 450,- 450 + 400,-1300 + 450,- 400 + 450,-1300
|
|
+ 450,-1250 + 450,- 400 + 500,- 400 + 450,-1250
|
|
+ 450
|
|
Sum: 69350
|
|
|
|
Send Kaseikyo_Denon variant
|
|
Protocol=Kaseikyo_Denon Address=0xFF1 Command=0x76 Raw-Data=0x9976FF10 48 bits LSB first
|
|
Send with: IrSender.sendKaseikyo_Denon(0xFF1, 0x76, <numberOfRepeats>);
|
|
rawData[100]:
|
|
-1065400
|
|
+3450,-1700
|
|
+ 450,- 400 + 450,- 450 + 400,-1300 + 450,- 400
|
|
+ 450,-1300 + 400,- 450 + 450,-1300 + 450,- 400
|
|
+ 450,- 400 + 450,-1250 + 450,- 450 + 450,- 400
|
|
+ 450,-1300 + 450,-1250 + 450,- 400 + 450,- 450
|
|
+ 450,- 400 + 450,- 450 + 400,- 450 + 450,- 400
|
|
+ 450,-1300 + 400,- 450 + 450,- 400 + 450,- 450
|
|
+ 400,-1300 + 450,-1250 + 450,-1300 + 450,-1250
|
|
+ 450,-1300 + 400,-1300 + 450,-1250 + 450,-1300
|
|
+ 400,- 450 + 450,-1250 + 500,-1250 + 400,- 450
|
|
+ 450,-1300 + 450,-1250 + 450,-1300 + 400,- 450
|
|
+ 450,-1250 + 500,- 400 + 450,- 400 + 450,-1250
|
|
+ 500,-1250 + 400,- 450 + 450,- 400 + 450,-1300
|
|
+ 450
|
|
Sum: 67700
|
|
|
|
Send Denon
|
|
Protocol=Denon Address=0x11 Command=0x76 Raw-Data=0x45D8 15 bits MSB first
|
|
Send with: IrSender.sendDenon(0x11, 0x76, <numberOfRepeats>);
|
|
rawData[32]:
|
|
-1063250
|
|
+ 250,-1800 + 300,- 750 + 250,- 800 + 250,- 800
|
|
+ 300,-1750 + 300,- 750 + 250,-1800 + 300,-1800
|
|
+ 300,-1750 + 250,- 800 + 300,-1750 + 300,-1800
|
|
+ 250,- 800 + 250,- 750 + 300,- 750 + 300
|
|
Sum: 23100
|
|
|
|
Send Denon/Sharp variant
|
|
Protocol=Sharp Address=0x11 Command=0x76 Raw-Data=0x45DA 15 bits MSB first
|
|
Send with: IrSender.sendSharp(0x11, 0x76, <numberOfRepeats>);
|
|
rawData[32]:
|
|
-1024950
|
|
+ 350,-1750 + 300,- 750 + 250,- 750 + 350,- 700
|
|
+ 300,-1800 + 250,- 750 + 350,-1750 + 300,-1750
|
|
+ 300,-1800 + 250,- 750 + 300,-1800 + 300,-1750
|
|
+ 300,- 750 + 300,-1800 + 250,- 750 + 300
|
|
Sum: 24150
|
|
|
|
Send Sony/SIRCS with 7 command and 5 address bits
|
|
Protocol=Sony Address=0x11 Command=0x76 Raw-Data=0x8F6 12 bits LSB first
|
|
Send with: IrSender.sendSony(0x11, 0x76, <numberOfRepeats>);
|
|
rawData[26]:
|
|
-1027050
|
|
+2400,- 650
|
|
+ 600,- 550 +1200,- 550 +1250,- 550 + 650,- 550
|
|
+1250,- 550 +1250,- 550 +1250,- 550 +1200,- 600
|
|
+ 650,- 550 + 650,- 550 + 650,- 550 +1250
|
|
Sum: 21000
|
|
|
|
Send Sony/SIRCS with 7 command and 8 address bits
|
|
Protocol=Sony Address=0xF1 Command=0x76 Raw-Data=0x78F6 15 bits LSB first
|
|
Send with: IrSender.sendSony(0xF1, 0x76, <numberOfRepeats>);
|
|
rawData[32]:
|
|
-1023750
|
|
+2350,- 600
|
|
+ 600,- 600 +1200,- 550 +1250,- 550 + 650,- 550
|
|
+1250,- 550 +1200,- 600 +1200,- 600 +1200,- 600
|
|
+ 650,- 600 + 600,- 600 + 600,- 550 +1250,- 600
|
|
+1200,- 550 +1250,- 550 +1250
|
|
Sum: 26350
|
|
|
|
Send Sony/SIRCS with 7 command and 13 address bits
|
|
Protocol=Sony Address=0x1FF1 Command=0x76 Raw-Data=0xFF8F6 20 bits LSB first
|
|
Send with: IrSender.sendSony(0x1FF1, 0x76, <numberOfRepeats>);
|
|
rawData[42]:
|
|
-1027100
|
|
+2450,- 550
|
|
+ 600,- 600 +1200,- 600 +1200,- 550 + 650,- 550
|
|
+1250,- 550 +1250,- 550 +1250,- 550 +1250,- 550
|
|
+ 650,- 550 + 650,- 550 + 650,- 550 +1250,- 550
|
|
+1250,- 550 +1200,- 600 +1250,- 550 +1200,- 600
|
|
+1200,- 600 +1200,- 550 +1250,- 550 +1250
|
|
Sum: 35350
|
|
|
|
Send RC5
|
|
Protocol=RC5 Address=0x11 Command=0x36 Raw-Data=0x1476 13 bits MSB first
|
|
Send with: IrSender.sendRC5(0x11, 0x36, <numberOfRepeats>);
|
|
rawData[20]:
|
|
-1030100
|
|
+ 900,- 850
|
|
+1800,-1800 +1750,- 900 + 900,- 850 + 900,-1800
|
|
+ 850,- 900 + 900,- 850 +1800,-1750 + 900,- 900
|
|
+1800
|
|
Sum: 23100
|
|
|
|
Send RC5X with 7.th MSB of command set
|
|
Protocol=RC5 Address=0x11 Command=0x76 Toggle=1 Raw-Data=0xC76 13 bits MSB first
|
|
Send with: IrSender.sendRC5(0x11, 0x76, <numberOfRepeats>);
|
|
rawData[20]:
|
|
-1021700
|
|
+1800,-1750
|
|
+ 900,- 900 +1750,- 900 + 900,- 850 + 900,-1800
|
|
+ 850,- 900 + 900,- 900 +1750,-1800 + 850,- 900
|
|
+1800
|
|
Sum: 23100
|
|
|
|
Send RC6
|
|
Protocol=RC6 Address=0xF1 Command=0x76 Raw-Data=0xF176 20 bits MSB first
|
|
Send with: IrSender.sendRC6(0xF1, 0x76, <numberOfRepeats>);
|
|
rawData[36]:
|
|
-1018950
|
|
+2650,- 900
|
|
+ 450,- 900 + 450,- 450 + 450,- 450 + 450,- 850
|
|
+1350,- 450 + 450,- 450 + 450,- 450 + 450,- 900
|
|
+ 450,- 450 + 450,- 400 + 900,- 900 + 900,- 450
|
|
+ 450,- 450 + 450,- 900 + 900,- 400 + 450,- 900
|
|
+ 450
|
|
Sum: 23200
|
|
|
|
Send Samsung
|
|
Protocol=Samsung Address=0xFFF1 Command=0x76 Raw-Data=0x8976FFF1 32 bits LSB first
|
|
Send with: IrSender.sendSamsung(0xFFF1, 0x76, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1027000
|
|
+4400,-4450
|
|
+ 550,-1650 + 600,- 550 + 550,- 550 + 600,- 550
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 600,-1650
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 550,-1650
|
|
+ 600,-1650 + 600,-1650 + 550,-1650 + 600,-1650
|
|
+ 600,- 500 + 600,-1650 + 600,-1650 + 550,- 550
|
|
+ 600,-1650 + 600,-1600 + 600,-1650 + 600,- 550
|
|
+ 550,-1650 + 600,- 550 + 600,- 500 + 600,-1650
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,-1650
|
|
+ 550
|
|
Sum: 68650
|
|
|
|
Send JVC
|
|
Protocol=JVC Address=0xF1 Command=0x76 Raw-Data=0x76F1 16 bits LSB first
|
|
Send with: IrSender.sendJVC(0xF1, 0x76, <numberOfRepeats>);
|
|
rawData[36]:
|
|
-1044550
|
|
+8350,-4150
|
|
+ 550,-1550 + 550,- 500 + 550,- 500 + 550,- 500
|
|
+ 550,-1550 + 550,-1550 + 500,-1600 + 550,-1550
|
|
+ 500,- 550 + 500,-1600 + 500,-1600 + 500,- 550
|
|
+ 500,-1550 + 550,-1550 + 550,-1550 + 550,- 500
|
|
+ 550
|
|
Sum: 40300
|
|
|
|
Send LG
|
|
Protocol=LG Address=0xF1 Command=0x7676 Raw-Data=0xF17676A 28 bits MSB first
|
|
Send with: IrSender.sendLG(0xF1, 0x7676, <numberOfRepeats>);
|
|
rawData[60]:
|
|
-1025600
|
|
+8950,-4150
|
|
+ 500,-1600 + 500,-1550 + 500,-1600 + 500,-1550
|
|
+ 500,- 550 + 500,- 550 + 500,- 550 + 500,-1550
|
|
+ 550,- 550 + 500,-1550 + 500,-1550 + 550,-1550
|
|
+ 500,- 550 + 500,-1550 + 500,-1600 + 500,- 550
|
|
+ 500,- 550 + 500,-1550 + 500,-1550 + 550,-1550
|
|
+ 500,- 550 + 500,-1550 + 500,-1550 + 550,- 550
|
|
+ 500,-1550 + 500,- 550 + 500,-1550 + 500,- 550
|
|
+ 500
|
|
Sum: 60350
|
|
|
|
Send MagiQuest
|
|
Protocol=MagiQuest Address=0xFFF1 Command=0x7676 Raw-Data=0xFFF17676 56 bits MSB first
|
|
Send with: IrSender.sendMagiQuest(0xFFF1, 0x7676, <numberOfRepeats>);
|
|
rawData[112]:
|
|
-1039800
|
|
+ 350,- 800 + 350,- 800 + 300,- 850 + 300,- 850
|
|
+ 250,- 900 + 300,- 850 + 300,- 850 + 300,- 850
|
|
+ 350,- 800 + 300,- 850 + 300,- 850 + 300,- 850
|
|
+ 300,- 850 + 300,- 850 + 300,- 850 + 300,- 850
|
|
+ 300,- 850 + 300,- 850 + 300,- 850 + 250,- 900
|
|
+ 250,- 900 + 250,- 900 + 300,- 800 + 350,- 800
|
|
+ 600,- 550 + 650,- 500 + 600,- 550 + 600,- 550
|
|
+ 600,- 550 + 600,- 550 + 600,- 550 + 600,- 550
|
|
+ 550,- 600 + 600,- 550 + 600,- 550 + 600,- 550
|
|
+ 300,- 850 + 300,- 850 + 300,- 850 + 600,- 550
|
|
+ 300,- 850 + 550,- 600 + 550,- 600 + 600,- 550
|
|
+ 250,- 900 + 600,- 550 + 600,- 550 + 300,- 850
|
|
+ 300,- 850 + 600,- 550 + 550,- 600 + 600,- 550
|
|
+ 250,- 900 + 550,- 550 + 650,- 500 + 350
|
|
Sum: 63500
|
|
|
|
Send Bosewave with no address and 8 command bits
|
|
Protocol=BoseWave Address=0x0 Command=0x76 Raw-Data=0x8976 16 bits LSB first
|
|
Send with: IrSender.sendBoseWave(0x0, 0x76, <numberOfRepeats>);
|
|
rawData[36]:
|
|
-1071300
|
|
+1000,-1450
|
|
+ 550,- 500 + 500,-1450 + 500,-1450 + 550,- 450
|
|
+ 500,-1450 + 550,-1450 + 550,-1450 + 550,- 400
|
|
+ 550,-1450 + 550,- 450 + 500,- 500 + 550,-1400
|
|
+ 550,- 450 + 550,- 450 + 550,- 450 + 550,-1400
|
|
+ 550
|
|
Sum: 26750
|
|
|
|
Force buffer overflow by sending 280 marks and spaces
|
|
Protocol=UNKNOWN Hash=0x0 0 bits (incl. gap and start) received
|
|
Overflow detected
|
|
Try to increase the "RAW_BUFFER_LENGTH" value of 112 in ../src/UnitTest.cpp
|
|
|
|
|
|
address=0xF2 command=0x87
|
|
|
|
Send NEC with 8 bit address
|
|
Protocol=NEC Address=0xF2 Command=0x87 Raw-Data=0x78870DF2 32 bits LSB first
|
|
Send with: IrSender.sendNEC(0xF2, 0x87, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-3276750
|
|
+8900,-4500
|
|
+ 500,- 550 + 600,-1650 + 550,- 550 + 600,- 550
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 550,-1650
|
|
+ 600,-1650 + 550,- 550 + 600,-1650 + 600,-1650
|
|
+ 600,- 500 + 600,- 550 + 550,- 550 + 600,- 550
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 550,- 550
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,-1650
|
|
+ 600,- 550 + 600,- 500 + 600,- 550 + 550,-1650
|
|
+ 600,-1650 + 600,-1650 + 600,-1650 + 550,- 550
|
|
+ 600
|
|
Sum: 67650
|
|
|
|
Send NEC with 16 bit address
|
|
Protocol=NEC Address=0xF2 Command=0x87 Raw-Data=0x78870DF2 32 bits LSB first
|
|
Send with: IrSender.sendNEC(0xF2, 0x87, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1045100
|
|
+8900,-4500
|
|
+ 500,- 550 + 600,-1650 + 550,- 550 + 600,- 550
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 600,-1600
|
|
+ 600,-1650 + 600,- 500 + 600,-1650 + 600,-1650
|
|
+ 600,- 500 + 600,- 550 + 600,- 500 + 600,- 550
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 600,- 500
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,-1650
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,-1650
|
|
+ 600,-1650 + 600,-1650 + 600,-1600 + 600,- 550
|
|
+ 600
|
|
Sum: 67650
|
|
|
|
Send Onkyo (NEC with 16 bit command)
|
|
Protocol=Onkyo Address=0xF2 Command=0x8787 Raw-Data=0x878700F2 32 bits LSB first
|
|
Send with: IrSender.sendOnkyo(0xF2, 0x8787, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1045800
|
|
+8900,-4400
|
|
+ 600,- 550 + 550,-1650 + 600,- 550 + 600,- 500
|
|
+ 550,-1700 + 600,-1650 + 550,-1650 + 600,-1650
|
|
+ 600,- 500 + 600,- 550 + 550,- 550 + 600,- 550
|
|
+ 550,- 550 + 600,- 550 + 550,- 550 + 600,- 550
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 600,- 500
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,-1650
|
|
+ 600,-1650 + 600,-1650 + 550,-1650 + 600,- 550
|
|
+ 550,- 550 + 600,- 550 + 550,- 550 + 600,-1650
|
|
+ 600
|
|
Sum: 64300
|
|
|
|
Send Apple
|
|
Protocol=Apple Address=0xF2 Command=0x87 Raw-Data=0xF28787EE 32 bits LSB first
|
|
Send with: IrSender.sendApple(0xF2, 0x87, <numberOfRepeats>);
|
|
rawData[68]:
|
|
-1044300
|
|
+8900,-4400
|
|
+ 600,- 550 + 600,-1650 + 550,-1650 + 600,-1650
|
|
+ 600,- 500 + 600,-1650 + 600,-1650 + 550,-1650
|
|
+ 600,-1650 + 600,-1650 + 600,-1650 + 550,- 550
|
|
+ 600,- 550 + 550,- 550 + 600,- 550 + 550,-1650
|
|
+ 600,-1650 + 600,-1650 + 550,-1650 + 600,- 550
|
|
+ 550,- 550 + 600,- 550 + 550,- 550 + 600,-1650
|
|
+ 600,- 500 + 600,-1650 + 550,- 550 + 600,- 550
|
|
+ 550,-1650 + 600,-1650 + 600,-1650 + 600,-1600
|
|
+ 600
|
|
Sum: 70950
|
|
|
|
Send Panasonic
|
|
Protocol=Panasonic Address=0xF2 Command=0x87 Raw-Data=0xA8870F20 48 bits LSB first
|
|
Send with: IrSender.sendPanasonic(0xF2, 0x87, <numberOfRepeats>);
|
|
rawData[100]:
|
|
-1044250
|
|
+3450,-1700
|
|
+ 450,- 400 + 450,-1300 + 450,- 400 + 450,- 400
|
|
+ 450,- 450 + 400,- 450 + 450,- 400 + 450,- 450
|
|
+ 400,- 450 + 450,- 400 + 450,- 450 + 400,- 450
|
|
+ 450,- 400 + 450,-1300 + 400,- 450 + 450,- 450
|
|
+ 400,- 450 + 450,- 400 + 450,- 450 + 400,- 450
|
|
+ 400,- 450 + 450,-1300 + 400,- 450 + 450,- 400
|
|
+ 450,-1300 + 450,-1250 + 450,-1300 + 400,-1300
|
|
+ 450,- 400 + 450,- 450 + 400,- 450 + 450,- 400
|
|
+ 450,-1300 + 450,-1250 + 450,-1300 + 400,- 450
|
|
+ 450,- 400 + 450,- 450 + 400,- 450 + 450,-1250
|
|
+ 450,- 450 + 400,- 450 + 400,- 450 + 450,-1300
|
|
+ 400,- 450 + 450,-1250 + 450,- 400 + 450,-1300
|
|
+ 450
|
|
Sum: 59150
|
|
|