“Mini红外遥控器”的版本间的差异
来自YFRobotwiki
(以“{|border="1" cellspacing="0" align="center" cellpadding="5" width="800px" |- |align="center"|遥控器字符 |align="center"|键值 |align="center"|遥控器字符 |...”为内容创建页面) |
|||
(未显示1个用户的35个中间版本) | |||
第1行: | 第1行: | ||
− | {|border="1" cellspacing="0" align=" | + | |
+ | 红外手柄遥控器请跳转:[[红外手柄遥控器]] | ||
+ | |||
+ | [[File:Mini红外遥控器.png|300px|thumb|right|红外Mini遥控器]] | ||
+ | |||
+ | |||
+ | ===Mini红外遥控器-硅胶按键键值表=== | ||
+ | |||
+ | 下列按键值,[https://yfrobot.lanzoui.com/irjjssaf2uf IRremote-master库文件 2.x旧版本适用]。 | ||
+ | |||
+ | {|border="1" cellspacing="0" align="left" cellpadding="5" width="60%" | ||
|- | |- | ||
+ | |align="center"|遥控器字符 | ||
+ | |align="center"|键值 | ||
|align="center"|遥控器字符 | |align="center"|遥控器字符 | ||
|align="center"|键值 | |align="center"|键值 | ||
第6行: | 第18行: | ||
|align="center"|键值 | |align="center"|键值 | ||
|- | |- | ||
− | |align="center"| | + | |align="center"|'''A''' |
|align="center"|0xFFA25D | |align="center"|0xFFA25D | ||
− | |align="center"| | + | |align="center"|'''B''' |
+ | |align="center"|0xFF629D | ||
+ | |align="center"|'''C''' | ||
|align="center"|0xFFE21D | |align="center"|0xFFE21D | ||
|- | |- | ||
− | |align="center"| | + | |align="center"|'''D''' |
|align="center"|0xFF22DD | |align="center"|0xFF22DD | ||
− | |align="center"| | + | |align="center"|'''∧''' |
|align="center"|0xFF02FD | |align="center"|0xFF02FD | ||
− | + | |align="center"|'''E''' | |
− | |align="center"| | + | |
|align="center"|0xFFC23D | |align="center"|0xFFC23D | ||
− | |||
− | |||
|- | |- | ||
− | |align="center"| | + | |align="center"|'''<''' |
+ | |align="center"|0xFFE01F | ||
+ | |align="center"|'''۞''' | ||
|align="center"|0xFFA857 | |align="center"|0xFFA857 | ||
− | |align="center"| | + | |align="center"|'''>''' |
|align="center"|0xFF906F | |align="center"|0xFF906F | ||
|- | |- | ||
− | |align="center"|0 | + | |align="center"|'''0''' |
|align="center"|0xFF6897 | |align="center"|0xFF6897 | ||
− | |align="center"| | + | |align="center"|'''∨''' |
|align="center"|0xFF9867 | |align="center"|0xFF9867 | ||
− | + | |align="center"|'''F''' | |
− | |align="center"| | + | |
|align="center"|0xFFB04F | |align="center"|0xFFB04F | ||
− | |||
− | |||
|- | |- | ||
− | |align="center"|2 | + | |align="center"|'''1''' |
+ | |align="center"|0xFF30CF | ||
+ | |align="center"|'''2''' | ||
|align="center"|0xFF18E7 | |align="center"|0xFF18E7 | ||
− | |align="center"|3 | + | |align="center"|'''3''' |
|align="center"|0xFF7A85 | |align="center"|0xFF7A85 | ||
|- | |- | ||
− | |align="center"|4 | + | |align="center"|'''4''' |
|align="center"|0xFF10EF | |align="center"|0xFF10EF | ||
− | |align="center"|5 | + | |align="center"|'''5''' |
|align="center"|0xFF38C7 | |align="center"|0xFF38C7 | ||
− | + | |align="center"|'''6''' | |
− | |align="center"|6 | + | |
|align="center"|0xFF5AA5 | |align="center"|0xFF5AA5 | ||
− | |||
− | |||
|- | |- | ||
− | |align="center"|8 | + | |align="center"|'''7''' |
+ | |align="center"|0xFF42BD | ||
+ | |align="center"|'''8''' | ||
|align="center"|0xFF4AB5 | |align="center"|0xFF4AB5 | ||
− | |align="center"|9 | + | |align="center"|'''9''' |
|align="center"|0xFF52AD | |align="center"|0xFF52AD | ||
+ | |} | ||
+ | <br><br><br><br><br><br><br><br><br><br><br><br><br><br> | ||
+ | |||
+ | |||
+ | ===新版本库文件,使用方法不同,键值不一样=== | ||
+ | |||
+ | 考虑兼容RP2040,需使用高版本库,如果您不使用RP2040,则无需使用新版本库。 | ||
+ | |||
+ | 新的红外代码为 LSB 优先 32 位 IR 数据代码(new LSB first 32 bit IR data codes),相关问题参考:[https://github.com/Arduino-IRremote/Arduino-IRremote#how-to-convert-old-msb-first-32-bit-ir-data-codes-to-new-lsb-first-32-bit-ir-data-codes 点击了解详情] | ||
+ | |||
+ | 下列按键值,使用[https://github.com/Arduino-IRremote/Arduino-IRremote IRremote-master库文件 4.0.0版本] | ||
+ | |||
+ | IrReceiver.decodedIRData.address 地址值 、IrReceiver.decodedIRData.command 命令值。 | ||
+ | |||
+ | {|border="1" cellspacing="0" align="left" cellpadding="5" width="60%" | ||
+ | |- | ||
+ | |align="center"|遥控器字符 | ||
+ | |align="center"|地址 | ||
+ | |align="center"|命令 | ||
+ | |align="center"|遥控器字符 | ||
+ | |align="center"|地址 | ||
+ | |align="center"|命令 | ||
+ | |align="center"|遥控器字符 | ||
+ | |align="center"|地址 | ||
+ | |align="center"|命令 | ||
+ | |- | ||
+ | |align="center"|'''A''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x45 | ||
+ | |align="center"|'''B''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x46 | ||
+ | |align="center"|'''C''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x47 | ||
+ | |- | ||
+ | |align="center"|'''D''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x44 | ||
+ | |align="center"|'''∧''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x40 | ||
+ | |align="center"|'''E''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x43 | ||
+ | |- | ||
+ | |align="center"|'''<''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x07 | ||
+ | |align="center"|'''۞''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x15 | ||
+ | |align="center"|'''>''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x09 | ||
+ | |- | ||
+ | |align="center"|'''0''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x16 | ||
+ | |align="center"|'''∨''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x19 | ||
+ | |align="center"|'''F''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x0D | ||
+ | |- | ||
+ | |align="center"|'''1''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x0C | ||
+ | |align="center"|'''2''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x18 | ||
+ | |align="center"|'''3''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x5E | ||
+ | |- | ||
+ | |align="center"|'''4''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x08 | ||
+ | |align="center"|'''5''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x1C | ||
+ | |align="center"|'''6''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x5A | ||
+ | |- | ||
+ | |align="center"|'''7''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x42 | ||
+ | |align="center"|'''8''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x52 | ||
+ | |align="center"|'''9''' | ||
+ | |align="center"|0 | ||
+ | |align="center"|0x4A | ||
|} | |} | ||
<br> | <br> |
2024年5月23日 (四) 10:51的最后版本
红外手柄遥控器请跳转:红外手柄遥控器
Mini红外遥控器-硅胶按键键值表
下列按键值,IRremote-master库文件 2.x旧版本适用。
遥控器字符 | 键值 | 遥控器字符 | 键值 | 遥控器字符 | 键值 |
A | 0xFFA25D | B | 0xFF629D | C | 0xFFE21D |
D | 0xFF22DD | ∧ | 0xFF02FD | E | 0xFFC23D |
< | 0xFFE01F | ۞ | 0xFFA857 | > | 0xFF906F |
0 | 0xFF6897 | ∨ | 0xFF9867 | F | 0xFFB04F |
1 | 0xFF30CF | 2 | 0xFF18E7 | 3 | 0xFF7A85 |
4 | 0xFF10EF | 5 | 0xFF38C7 | 6 | 0xFF5AA5 |
7 | 0xFF42BD | 8 | 0xFF4AB5 | 9 | 0xFF52AD |
新版本库文件,使用方法不同,键值不一样
考虑兼容RP2040,需使用高版本库,如果您不使用RP2040,则无需使用新版本库。
新的红外代码为 LSB 优先 32 位 IR 数据代码(new LSB first 32 bit IR data codes),相关问题参考:点击了解详情
下列按键值,使用IRremote-master库文件 4.0.0版本
IrReceiver.decodedIRData.address 地址值 、IrReceiver.decodedIRData.command 命令值。
遥控器字符 | 地址 | 命令 | 遥控器字符 | 地址 | 命令 | 遥控器字符 | 地址 | 命令 |
A | 0 | 0x45 | B | 0 | 0x46 | C | 0 | 0x47 |
D | 0 | 0x44 | ∧ | 0 | 0x40 | E | 0 | 0x43 |
< | 0 | 0x07 | ۞ | 0 | 0x15 | > | 0 | 0x09 |
0 | 0 | 0x16 | ∨ | 0 | 0x19 | F | 0 | 0x0D |
1 | 0 | 0x0C | 2 | 0 | 0x18 | 3 | 0 | 0x5E |
4 | 0 | 0x08 | 5 | 0 | 0x1C | 6 | 0 | 0x5A |
7 | 0 | 0x42 | 8 | 0 | 0x52 | 9 | 0 | 0x4A |