Skip to content

Commit 95d2090

Browse files
chore: edit serial name
1 parent 6db15cf commit 95d2090

File tree

1 file changed

+34
-133
lines changed

1 file changed

+34
-133
lines changed

flows.json

Lines changed: 34 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{
2727
"id": "94b8abb47e4cb1f2",
2828
"type": "serial-port",
29-
"serialport": "/dev/tty/USB0",
29+
"serialport": "/dev/ttyUSB0",
3030
"serialbaud": "115200",
3131
"databits": "8",
3232
"parity": "none",
@@ -886,138 +886,6 @@
886886
]
887887
]
888888
},
889-
{
890-
"id": "6b1290a059fc78a2",
891-
"type": "serial in",
892-
"z": "09012e75c72a4968",
893-
"name": "",
894-
"serial": "94b8abb47e4cb1f2",
895-
"x": 110,
896-
"y": 180,
897-
"wires": [
898-
[
899-
"ead8458e27835fd5"
900-
]
901-
]
902-
},
903-
{
904-
"id": "d86ee55246645576",
905-
"type": "serial in",
906-
"z": "09012e75c72a4968",
907-
"name": "",
908-
"serial": "346f85aea8590bba",
909-
"x": 110,
910-
"y": 220,
911-
"wires": [
912-
[
913-
"f5d4b6da7502dcc5"
914-
]
915-
]
916-
},
917-
{
918-
"id": "f58ad2d2abbb5940",
919-
"type": "serial in",
920-
"z": "09012e75c72a4968",
921-
"name": "",
922-
"serial": "2fa64a6ae4bfad03",
923-
"x": 110,
924-
"y": 260,
925-
"wires": [
926-
[
927-
"95a015623724305b"
928-
]
929-
]
930-
},
931-
{
932-
"id": "31a34bfbb86c9ddc",
933-
"type": "serial in",
934-
"z": "09012e75c72a4968",
935-
"name": "",
936-
"serial": "c413535be070623e",
937-
"x": 110,
938-
"y": 300,
939-
"wires": [
940-
[
941-
"490f2072cd94d40a"
942-
]
943-
]
944-
},
945-
{
946-
"id": "ead8458e27835fd5",
947-
"type": "function",
948-
"z": "09012e75c72a4968",
949-
"name": "setSerial",
950-
"func": "msg.serial_id = \"/dev/tty/USB0\"\nreturn msg;",
951-
"outputs": 1,
952-
"noerr": 0,
953-
"initialize": "",
954-
"finalize": "",
955-
"libs": [],
956-
"x": 280,
957-
"y": 180,
958-
"wires": [
959-
[
960-
"272e66b82d47e0e4"
961-
]
962-
]
963-
},
964-
{
965-
"id": "f5d4b6da7502dcc5",
966-
"type": "function",
967-
"z": "09012e75c72a4968",
968-
"name": "setSerial",
969-
"func": "msg.serial_id = \"/dev/tty/USB1\"\n\nreturn msg;",
970-
"outputs": 1,
971-
"noerr": 0,
972-
"initialize": "",
973-
"finalize": "",
974-
"libs": [],
975-
"x": 280,
976-
"y": 220,
977-
"wires": [
978-
[
979-
"272e66b82d47e0e4"
980-
]
981-
]
982-
},
983-
{
984-
"id": "95a015623724305b",
985-
"type": "function",
986-
"z": "09012e75c72a4968",
987-
"name": "setSerial",
988-
"func": "msg.serial_id = \"/dev/tty/USB2\"\n\nreturn msg;",
989-
"outputs": 1,
990-
"noerr": 0,
991-
"initialize": "",
992-
"finalize": "",
993-
"libs": [],
994-
"x": 280,
995-
"y": 260,
996-
"wires": [
997-
[
998-
"272e66b82d47e0e4"
999-
]
1000-
]
1001-
},
1002-
{
1003-
"id": "490f2072cd94d40a",
1004-
"type": "function",
1005-
"z": "09012e75c72a4968",
1006-
"name": "setSerial",
1007-
"func": "msg.serial_id = \"/dev/tty/USB3\"\n\nreturn msg;",
1008-
"outputs": 1,
1009-
"noerr": 0,
1010-
"initialize": "",
1011-
"finalize": "",
1012-
"libs": [],
1013-
"x": 280,
1014-
"y": 300,
1015-
"wires": [
1016-
[
1017-
"272e66b82d47e0e4"
1018-
]
1019-
]
1020-
},
1021889
{
1022890
"id": "e0959707dc172828",
1023891
"type": "function",
@@ -1454,5 +1322,38 @@
14541322
"ead8458e27835fd5"
14551323
]
14561324
]
1325+
},
1326+
{
1327+
"id": "6b1290a059fc78a2",
1328+
"type": "serial in",
1329+
"z": "09012e75c72a4968",
1330+
"name": "",
1331+
"serial": "94b8abb47e4cb1f2",
1332+
"x": 110,
1333+
"y": 180,
1334+
"wires": [
1335+
[
1336+
"ead8458e27835fd5"
1337+
]
1338+
]
1339+
},
1340+
{
1341+
"id": "ead8458e27835fd5",
1342+
"type": "function",
1343+
"z": "09012e75c72a4968",
1344+
"name": "setSerial",
1345+
"func": "msg.serial_id = \"/dev/tty/USB0\"\nreturn msg;",
1346+
"outputs": 1,
1347+
"noerr": 0,
1348+
"initialize": "",
1349+
"finalize": "",
1350+
"libs": [],
1351+
"x": 280,
1352+
"y": 180,
1353+
"wires": [
1354+
[
1355+
"272e66b82d47e0e4"
1356+
]
1357+
]
14571358
}
14581359
]

0 commit comments

Comments
 (0)