This commit is contained in:
编码猿
2025-08-29 22:01:03 +08:00
parent 1360daaab0
commit e62f697592
109 changed files with 304 additions and 1668 deletions

View File

@@ -0,0 +1,36 @@
3进1出 HDMI 遥控器 笔记:
协议NEC
方法irsend.sendNEC(Code, 32);
红外码:
按键1: 笔记本
Code : 0xFFE01F (32 Bits)
uint16_t rawData[71] = {8944, 4578, 488, 620, 486, 622, 484, 624, 484, 622, 486, 622, 484, 622, 484, 624, 482, 624, 484, 1720, 484, 1720, 484, 1720, 484, 1720, 484, 1720, 484, 1720, 486, 1720, 484, 1718, 488, 1718, 486, 1716, 486, 1716, 486, 622, 486, 620, 486, 620, 486, 620, 486, 622, 486, 620, 486, 620, 486, 622, 460, 1742, 486, 1718, 484, 1718, 486, 1718, 486, 1718, 486, 40880, 8968, 2056, 512}; // NEC FFE01F
uint32_t address = 0x0;
uint32_t command = 0x7;
uint64_t data = 0xFFE01F;
按键2: N100服务器
Code : 0xFF9867 (32 Bits)
uint16_t rawData[71] = {8988, 4522, 530, 598, 532, 574, 506, 600, 506, 600, 532, 574, 508, 600, 534, 574, 534, 574, 506, 1698, 506, 1698, 506, 1698, 534, 1670, 532, 1676, 532, 1672, 506, 1698, 532, 1672, 534, 1670, 508, 600, 506, 600, 534, 1670, 532, 1672, 534, 576, 534, 574, 534, 574, 532, 574, 532, 1672, 508, 1698, 532, 576, 534, 576, 532, 1670, 532, 1672, 532, 1672, 506, 40626, 9034, 2014, 532}; // NEC FF9867
uint32_t address = 0x0;
uint32_t command = 0x19;
uint64_t data = 0xFF9867;
按键3: Switch 主机
Code : 0xFF906F (32 Bits)
uint16_t rawData[71] = {9038, 4478, 548, 580, 528, 580, 532, 576, 528, 578, 530, 578, 532, 576, 530, 578, 530, 576, 530, 1674, 530, 1674, 530, 1672, 530, 1672, 530, 1674, 530, 1674, 528, 1674, 532, 1672, 532, 1672, 506, 600, 532, 576, 506, 1698, 530, 578, 530, 578, 530, 576, 532, 574, 530, 578, 532, 1672, 530, 1674, 532, 574, 528, 1674, 530, 1672, 532, 1672, 532, 1672, 506, 40606, 9006, 2016, 578}; // NEC FF906F
uint32_t address = 0x0;
uint32_t command = 0x9;
uint64_t data = 0xFF906F;
MODE1 2 3 顺序切换
Code : 0xFF02FD (32 Bits)
uint16_t rawData[71] = {9030, 4484, 554, 574, 530, 578, 528, 578, 528, 580, 530, 578, 530, 578, 528, 580, 528, 578, 528, 1678, 528, 1676, 530, 1674, 530, 1652, 554, 1674, 530, 1674, 526, 1678, 528, 1676, 528, 578, 530, 576, 530, 578, 530, 578, 528, 580, 528, 580, 530, 1674, 532, 578, 530, 1674, 530, 1674, 528, 1676, 528, 1676, 530, 1652, 550, 1676, 526, 580, 528, 1656, 552, 40666, 9012, 1990, 580}; // NEC FF02FD
uint32_t address = 0x0;
uint32_t command = 0x40;
uint64_t data = 0xFF02FD;