diff --git a/doc/31.TencentOS-Tiny_CH32V_EVB_QuickStart.md b/doc/31.TencentOS-Tiny_CH32V_EVB_QuickStart.md index 16286d91..824a7d6e 100644 --- a/doc/31.TencentOS-Tiny_CH32V_EVB_QuickStart.md +++ b/doc/31.TencentOS-Tiny_CH32V_EVB_QuickStart.md @@ -172,51 +172,8 @@ MRS IDE默认集成了TencentOS Tiny工程模板,一键即可生成TencentOS T ![](image/CH32V_EVB_guide/c003.png) 1.3. 数据模板 -进入产品,点击【数据模板】,点击【导入JSON】,导入下面的JSON代码: -```json -{ - "version": "1.0", - "properties": [ - { - "id": "power_switch", - "name": "电灯开关", - "desc": "控制电灯开灭", - "required": true, - "mode": "rw", - "define": { - "type": "bool", - "mapping": { - "0": "关", - "1": "开" - } - } - }, - { - "id": "brightness", - "name": "光照强度", - "desc": "", - "mode": "r", - "define": { - "type": "int", - "min": "0", - "max": "20000", - "start": "0", - "step": "1", - "unit": "lx" - }, - "required": false - } - ], - "events": [], - "actions": [], - "profile": { - "ProductId": "TCC64FUFGD", - "CategoryId": "3" - } -} -``` -导入之后自动根据json文件创建的属性如下: +平台自动创建的物模型(数据模板)如下: ![](image/CH32V_EVB_guide/c004.png) @@ -304,33 +261,3 @@ https://github.com/OpenAtomFoundation/TencentOS-tiny 上clone整个代码仓源 在此页面中可以自己根据喜好配置小程序显示面板,保存之后,在腾讯连连小程序删除设备,重新扫描绑定设备即可生效。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/image/CH32V_EVB_guide/c002.png b/doc/image/CH32V_EVB_guide/c002.png index 5e157cec..bd57ab59 100644 Binary files a/doc/image/CH32V_EVB_guide/c002.png and b/doc/image/CH32V_EVB_guide/c002.png differ diff --git a/doc/image/CH32V_EVB_guide/c004.png b/doc/image/CH32V_EVB_guide/c004.png index 0fca0fab..5d25d075 100644 Binary files a/doc/image/CH32V_EVB_guide/c004.png and b/doc/image/CH32V_EVB_guide/c004.png differ