Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create the following Node-RED flow to enable analog input pin A0
     

    Tip
    titleA 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
titleExtra points!

Create little control loops between sensors and actuators!