doc_fix:update the part 3 picture in ch32v307 doc

This commit is contained in:
mculover666
2022-06-13 16:43:08 +08:00
parent e5608ba067
commit 2af78131df
3 changed files with 1 additions and 74 deletions

View File

@@ -172,51 +172,8 @@ MRS IDE默认集成了TencentOS Tiny工程模板一键即可生成TencentOS T
![](image/CH32V_EVB_guide/c003.png) ![](image/CH32V_EVB_guide/c003.png)
1.3. 数据模板 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) ![](image/CH32V_EVB_guide/c004.png)
@@ -304,33 +261,3 @@ https://github.com/OpenAtomFoundation/TencentOS-tiny 上clone整个代码仓源
在此页面中可以自己根据喜好配置小程序显示面板,保存之后,在腾讯连连小程序删除设备,重新扫描绑定设备即可生效。 在此页面中可以自己根据喜好配置小程序显示面板,保存之后,在腾讯连连小程序删除设备,重新扫描绑定设备即可生效。

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 112 KiB