Commit f7763489 authored by Alexes Pagan's avatar Alexes Pagan

Upload New File

parent df1c83b1
[
{
"id": "3a30c8bac1fbd5e3",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "0d487dddaf4b105d",
"type": "mqtt in",
"z": "3a30c8bac1fbd5e3",
"d": true,
"name": "",
"topic": "csc113/serialdata/tx",
"qos": "2",
"datatype": "auto-detect",
"broker": "5f6d1a3917fe0cfb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 190,
"y": 200,
"wires": [
[]
]
},
{
"id": "e8abf97a263074ac",
"type": "ui_text",
"z": "3a30c8bac1fbd5e3",
"d": true,
"group": "36ce016798bce641",
"order": 0,
"width": 0,
"height": 0,
"name": "",
"label": "text",
"format": "{{msg.payload}}",
"layout": "row-spread",
"className": "",
"style": false,
"font": "",
"fontSize": 16,
"color": "#000000",
"x": 350,
"y": 200,
"wires": []
},
{
"id": "e772f62d3f1cd4e2",
"type": "mqtt in",
"z": "3a30c8bac1fbd5e3",
"name": "WinDecider",
"topic": "bcomet/serialdata/tx",
"qos": "2",
"datatype": "auto-detect",
"broker": "5f6d1a3917fe0cfb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 170,
"y": 340,
"wires": [
[
"a7a3b1ea02fe585b",
"9fc0d08084279e4e",
"8049d63914379c68"
]
]
},
{
"id": "9fc0d08084279e4e",
"type": "ui_text",
"z": "3a30c8bac1fbd5e3",
"group": "36ce016798bce641",
"order": 1,
"width": 0,
"height": 0,
"name": "Winner",
"label": "Winner of Quickdraw is:",
"format": "{{msg.payload}}",
"layout": "row-spread",
"className": "",
"style": false,
"font": "",
"fontSize": 16,
"color": "#000000",
"x": 520,
"y": 340,
"wires": []
},
{
"id": "a7a3b1ea02fe585b",
"type": "debug",
"z": "3a30c8bac1fbd5e3",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 520,
"y": 260,
"wires": []
},
{
"id": "8049d63914379c68",
"type": "ui_button",
"z": "3a30c8bac1fbd5e3",
"name": "",
"group": "36ce016798bce641",
"order": 2,
"width": "0",
"height": "0",
"passthru": false,
"label": "Press me to read the rules.",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "Once you are ready to start the game, press the button in the middle. The red led will turn on and off to signify the game starting. Once started, the buzzer will play a countdown and once the countdown is finished, each player must press their corresponding button. Player1 is the button closest to the esp32, Player2 is the button farthest from the esp32. Whoever presses the button first after the countdown, is crowned the winner.",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 440,
"y": 420,
"wires": [
[
"5dd8f3dd2a7c3c73"
]
]
},
{
"id": "5dd8f3dd2a7c3c73",
"type": "ui_text",
"z": "3a30c8bac1fbd5e3",
"group": "36ce016798bce641",
"order": 3,
"width": "6",
"height": "7",
"name": "",
"label": "Tutorial Text:",
"format": "{{msg.payload}}",
"layout": "row-spread",
"className": "",
"style": false,
"font": "",
"fontSize": 16,
"color": "#000000",
"x": 710,
"y": 420,
"wires": []
},
{
"id": "5f6d1a3917fe0cfb",
"type": "mqtt-broker",
"name": "",
"broker": "test.mosquitto.org",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
},
{
"id": "36ce016798bce641",
"type": "ui_group",
"name": "",
"tab": "69a2bfca4b7ca23e",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "69a2bfca4b7ca23e",
"type": "ui_tab",
"name": "update",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment