feat: 完成弹力魔盒初版固件

This commit is contained in:
2026-08-31 20:15:19 +08:00
parent 026d6d5da7
commit b63a928b92
34 changed files with 1320 additions and 781 deletions
+18 -15
View File
@@ -1,8 +1,8 @@
{
"product": {
"name": "门夹弹力绳",
"code": "PICBC2",
"type": "CBC2",
"name": "弹力魔盒",
"code": "PICBC4",
"type": "CBC4",
"protocol": "V1.0.0"
},
"dps": [
@@ -30,15 +30,14 @@
"len": 1,
"scale": 1.0,
"dir": "rw",
"description": "6种玩法,按键也可切换并上报",
"description": "5种玩法,按键也可切换并上报",
"values": {
"0": "停止复位",
"1": "弹力伪装",
"2": "飞鸟俯冲",
"3": "云阶小陀螺",
"4": "起伏攻防战",
"5": "微风拂动",
"6": "闪电快闪"
"1": "随机躲猫猫",
"2": "洞口接力跑",
"3": "快闪+快摇组合",
"4": "慢探+随机摇摆",
"5": "终极大乱斗"
}
},
{
@@ -46,12 +45,16 @@
"display_name": "手动模式",
"key": "hand_mode",
"kind": "normal",
"type": "raw",
"len": 2,
"type": "enum",
"len": 1,
"scale": 1.0,
"dir": "wo",
"description": "预留力度和百分比看后面能否实现",
"values": {}
"description": "上部或下部电机单次探出,最长5秒",
"values": {
"0": "停止",
"1": "上部探出",
"2": "下部探出"
}
},
{
"id": 3,
@@ -172,4 +175,4 @@
"values": {}
}
]
}
}