@edgepi-cloud/node-red-edgepi-led 1.0.12

Node for EdgePi Led Array

npm install @edgepi-cloud/node-red-edgepi-led

EdgePi LED node that changes the state of LEDs on the EdgePi.

Install

Install normally through the node-red editor or install with npm in your node-red directory (typically located at ~/node.red) by running the following command:

npm install @edgepi-cloud/node-red-edgepi-led

Properties

RPC Server
The connection to your EdgePi's RPC Server.

Inputs

  • payload (boolean)
    The LED state.
  • pin (number)
    The LED pin on which to change state.

Example input configuration:

msg {
  "payload": true,
  "pin": 1
}

Outputs

  • payload (string)
    A success message stating the configuration of the given LED. Example output:
msg {
  "payload": "Successfully turned on LEDPins.LED1."
}

Node Info

Version: 1.0.12
Updated 7 months, 1 week ago
License: MIT
Rating: not yet rated

Actions

Rate:

Downloads

19 in the last week

Nodes

  • led

Keywords

  • node-red
  • edgepi
  • led
  • edgepi-led

Maintainers