Advertisement
NittyGritty

Testflow RF-Link

Feb 11th, 2024
940
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.77 KB | None | 0 0
  1. [
  2.     {
  3.         "id": "242caaef.6b37d6",
  4.         "type": "serial in",
  5.         "z": "e56d497.0c89db8",
  6.         "name": "RF-Link (Arduino Mega)",
  7.         "serial": "fdc206cd.04eaf8",
  8.         "x": 140,
  9.         "y": 80,
  10.         "wires": [
  11.             [
  12.                 "0b0dfc76e194e5b1"
  13.             ]
  14.         ]
  15.     },
  16.     {
  17.         "id": "0b0dfc76e194e5b1",
  18.         "type": "function",
  19.         "z": "e56d497.0c89db8",
  20.         "name": "Remove \\r at end of string",
  21.         "func": "var words = msg.payload.split('\\r');\nvar KnotenName = (words[0]);\n\nreturn {payload:KnotenName};",
  22.         "outputs": 1,
  23.         "noerr": 0,
  24.         "initialize": "",
  25.         "finalize": "",
  26.         "libs": [],
  27.         "x": 410,
  28.         "y": 80,
  29.         "wires": [
  30.             [
  31.                 "f78d6eab.53c47",
  32.                 "a4e65f8f.68d27"
  33.             ]
  34.         ]
  35.     },
  36.     {
  37.         "id": "a4e65f8f.68d27",
  38.         "type": "debug",
  39.         "z": "e56d497.0c89db8",
  40.         "name": "Serial Data",
  41.         "active": false,
  42.         "tosidebar": true,
  43.         "console": false,
  44.         "tostatus": true,
  45.         "complete": "payload",
  46.         "targetType": "msg",
  47.         "statusVal": "payload",
  48.         "statusType": "auto",
  49.         "x": 650,
  50.         "y": 100,
  51.         "wires": []
  52.     },
  53.     {
  54.         "id": "fdc206cd.04eaf8",
  55.         "type": "serial-port",
  56.         "serialport": "/dev/ttyACM0",
  57.         "serialbaud": "57600",
  58.         "databits": "8",
  59.         "parity": "none",
  60.         "stopbits": "1",
  61.         "waitfor": "",
  62.         "dtr": "none",
  63.         "rts": "none",
  64.         "cts": "none",
  65.         "dsr": "none",
  66.         "newline": "\\n",
  67.         "bin": "false",
  68.         "out": "char",
  69.         "addchar": "",
  70.         "responsetimeout": "10000"
  71.     }
  72. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement