流程图:
网页UI图:( 新建网页,在地址栏输入 http://172.16.0.12:1880/ui)
[{
"id": "436c74b2.977a3c",
"type": "tab",
"label": "流程4",
"disabled": false,
"info": ""
}, {
"id": "ef889832.c54578",
"type": "ui_slider",
"z": "436c74b2.977a3c",
"name": "PWM控制LED",
"label": "PWM",
"tooltip": "",
"group": "f76386ba.31fe18",
"order": 0,
"width": 0,
"height": 0,
"passthru": true,
"outs": "all",
"topic": "",
"min": 0,
"max": "200",
"step": "1",
"x": 380,
"y": 140,
"wires": [
["53d08057.6fc3a", "895dfd97.39708"]
]
}, {
"id": "f1c1eb8e.eae9e8",
"type": "complete",
"z": "436c74b2.977a3c",
"name": "",
"scope": [],
"uncaught": false,
"x": 170,
"y": 140,
"wires": [
["ef889832.c54578"]
]
}, {
"id": "53d08057.6fc3a",
"type": "rpi-gpio out",
"z": "436c74b2.977a3c",
"name": "",
"pin": "37",
"set": "",
"level": "0",
"freq": "100",
"out": "pwm",
"x": 580,
"y": 200,
"wires": []
}, {
"id": "895dfd97.39708",
"type": "ui_text",
"z": "436c74b2.977a3c",
"group": "f76386ba.31fe18",
"order": 0,
"width": 0,
"height": 0,
"name": "",
"label": "PWM",
"format": "{{msg.payload}}",
"layout": "col-center",
"x": 590,
"y": 140,
"wires": []
}, {
"id": "f76386ba.31fe18",
"type": "ui_group",
"z": "436c74b2.977a3c",
"name": "LED调光",
"tab": "24fb76d8.eb34da",
"disp": true,
"width": "6",
"collapse": false
}, {
"id": "24fb76d8.eb34da",
"type": "ui_tab",
"z": "436c74b2.977a3c",
"name": "Home",
"icon": "dashboard"
}]