Skip to content

Instantly share code, notes, and snippets.

@McOrLi1
Created July 30, 2018 14:55
Show Gist options
  • Save McOrLi1/444ae0fb38950dbbdd8be30c22f7a4e8 to your computer and use it in GitHub Desktop.
Save McOrLi1/444ae0fb38950dbbdd8be30c22f7a4e8 to your computer and use it in GitHub Desktop.
Portta HDMI switcher IR code
Encoding : NEC
Code : 1FE40BF (32 bits)
Timing[67]:
+ 9158, - 4452, + 648, - 526, + 610, - 524, + 612, - 494,
+ 644, - 494, + 644, - 494, + 642, - 496, + 642, - 524,
+ 612, - 1604, + 642, - 1606, + 642, - 1606, + 642, - 1606,
+ 640, - 1610, + 636, - 1614, + 610, - 1666, + 582, - 1666,
+ 582, - 558, + 578, - 558, + 578, - 1668, + 580, - 558,
+ 578, - 558, + 580, - 558, + 578, - 558, + 580, - 558,
+ 580, - 558, + 580, - 1668, + 580, - 558, + 580, - 1666,
+ 582, - 1668, + 580, - 1668, + 580, - 1668, + 580, - 1668,
+ 580, - 1668, + 580
uint16_t rawData[67] = {9158, 4452, 648, 526, 610, 524, 612, 494, 644, 494, 644, 494, 642, 496, 642, 524, 612, 1604, 642, 1606, 642, 1606, 642, 1606, 640, 1610, 636, 1614, 610, 1666, 582, 1666, 582, 558, 578, 558, 578, 1668, 580, 558, 578, 558, 580, 558, 578, 558, 580, 558, 580, 558, 580, 1668, 580, 558, 580, 1666, 582, 1668, 580, 1668, 580, 1668, 580, 1668, 580, 1668, 580}; // NEC 1FE40BF
uint32_t address = 0x80;
uint32_t command = 0x2;
uint64_t data = 0x1FE40BF;
Encoding : NEC
Code : 1FE20DF (32 bits)
Timing[67]:
+ 9158, - 4458, + 642, - 498, + 638, - 498, + 638, - 500,
+ 638, - 528, + 610, - 528, + 610, - 530, + 606, - 530,
+ 606, - 1612, + 612, - 1638, + 610, - 1638, + 608, - 1640,
+ 608, - 1640, + 608, - 1640, + 606, - 1640, + 608, - 1642,
+ 606, - 556, + 582, - 556, + 580, - 556, + 582, - 1640,
+ 606, - 556, + 582, - 556, + 582, - 556, + 582, - 556,
+ 582, - 556, + 582, - 1640, + 606, - 1666, + 582, - 556,
+ 580, - 1666, + 582, - 1666, + 582, - 1666, + 582, - 1666,
+ 582, - 1666, + 582
uint16_t rawData[67] = {9158, 4458, 642, 498, 638, 498, 638, 500, 638, 528, 610, 528, 610, 530, 606, 530, 606, 1612, 612, 1638, 610, 1638, 608, 1640, 608, 1640, 608, 1640, 606, 1640, 608, 1642, 606, 556, 582, 556, 580, 556, 582, 1640, 606, 556, 582, 556, 582, 556, 582, 556, 582, 556, 582, 1640, 606, 1666, 582, 556, 580, 1666, 582, 1666, 582, 1666, 582, 1666, 582, 1666, 582}; // NEC 1FE20DF
uint32_t address = 0x80;
uint32_t command = 0x4;
uint64_t data = 0x1FE20DF;
Encoding : NEC
Code : 1FEA05F (32 bits)
Timing[67]:
+ 9158, - 4458, + 644, - 496, + 642, - 496, + 642, - 496,
+ 640, - 498, + 638, - 500, + 638, - 502, + 636, - 528,
+ 608, - 1612, + 638, - 1612, + 638, - 1612, + 610, - 1638,
+ 610, - 1638, + 610, - 1640, + 606, - 1668, + 582, - 1666,
+ 582, - 558, + 580, - 1668, + 582, - 556, + 582, - 1666,
+ 582, - 556, + 582, - 556, + 582, - 558, + 582, - 556,
+ 580, - 558, + 580, - 556, + 582, - 1666, + 582, - 556,
+ 582, - 1666, + 582, - 1666, + 582, - 1668, + 582, - 1666,
+ 582, - 1666, + 582
uint16_t rawData[67] = {9158, 4458, 644, 496, 642, 496, 642, 496, 640, 498, 638, 500, 638, 502, 636, 528, 608, 1612, 638, 1612, 638, 1612, 610, 1638, 610, 1638, 610, 1640, 606, 1668, 582, 1666, 582, 558, 580, 1668, 582, 556, 582, 1666, 582, 556, 582, 556, 582, 558, 582, 556, 580, 558, 580, 556, 582, 1666, 582, 556, 582, 1666, 582, 1666, 582, 1668, 582, 1666, 582, 1666, 582}; // NEC 1FEA05F
uint32_t address = 0x80;
uint32_t command = 0x5;
uint64_t data = 0x1FEA05F;
Encoding : NEC
Code : 1FE609F (32 bits)
Timing[67]:
+ 9120, - 4492, + 608, - 556, + 606, - 506, + 606, - 530,
+ 608, - 530, + 608, - 530, + 632, - 530, + 580, - 556,
+ 580, - 1638, + 608, - 1640, + 608, - 1640, + 608, - 1640,
+ 608, - 1638, + 608, - 1638, + 610, - 1638, + 608, - 1640,
+ 608, - 556, + 582, - 528, + 608, - 1638, + 610, - 1640,
+ 612, - 526, + 608, - 530, + 608, - 556, + 580, - 528,
+ 610, - 554, + 584, - 1636, + 608, - 530, + 608, - 530,
+ 608, - 1638, + 610, - 1638, + 608, - 1640, + 608, - 1640,
+ 608, - 1640, + 608
uint16_t rawData[67] = {9120, 4492, 608, 556, 606, 506, 606, 530, 608, 530, 608, 530, 632, 530, 580, 556, 580, 1638, 608, 1640, 608, 1640, 608, 1640, 608, 1638, 608, 1638, 610, 1638, 608, 1640, 608, 556, 582, 528, 608, 1638, 610, 1640, 612, 526, 608, 530, 608, 556, 580, 528, 610, 554, 584, 1636, 608, 530, 608, 530, 608, 1638, 610, 1638, 608, 1640, 608, 1640, 608, 1640, 608}; // NEC 1FE609F
uint32_t address = 0x80;
uint32_t command = 0x6;
uint64_t data = 0x1FE609F;
Encoding : NEC
Code : 1FE10EF (32 bits)
Timing[67]:
+ 9154, - 4452, + 648, - 526, + 610, - 524, + 612, - 494,
+ 642, - 494, + 642, - 494, + 642, - 496, + 640, - 526,
+ 610, - 1604, + 642, - 1606, + 642, - 1606, + 640, - 1608,
+ 638, - 1610, + 612, - 1636, + 610, - 1666, + 582, - 1666,
+ 580, - 558, + 580, - 558, + 578, - 558, + 580, - 558,
+ 580, - 1666, + 580, - 558, + 578, - 558, + 578, - 558,
+ 578, - 558, + 578, - 1668, + 580, - 1666, + 580, - 1668,
+ 580, - 558, + 578, - 1668, + 580, - 1668, + 582, - 1666,
+ 580, - 1666, + 580
uint16_t rawData[67] = {9154, 4452, 648, 526, 610, 524, 612, 494, 642, 494, 642, 494, 642, 496, 640, 526, 610, 1604, 642, 1606, 642, 1606, 640, 1608, 638, 1610, 612, 1636, 610, 1666, 582, 1666, 580, 558, 580, 558, 578, 558, 580, 558, 580, 1666, 580, 558, 578, 558, 578, 558, 578, 558, 578, 1668, 580, 1666, 580, 1668, 580, 558, 578, 1668, 580, 1668, 582, 1666, 580, 1666, 580}; // NEC 1FE10EF
uint32_t address = 0x80;
uint32_t command = 0x8;
uint64_t data = 0x1FE10EF;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment