...
Create the following Node-RED flow to enable analog input pin A0
Tip title A little help The function node at the top contains the following code:
Code Block msg.payload = { "method" : "PUT", "url" : "/analog/A0", "body": { "enable": msg.payload, "rate": 10000, "sampleCount": 1, "dataFormat": 0 }, "token": "myToken", } return msg;
You should end up with the following dashboard
Tip | ||
---|---|---|
| ||
Create little control loops between sensors and actuators! |