node-red-contrib-libgpiod 0.0.1

A set of input and output nodes for controlling General Purpose Input and Outputs (GPIOs) though libgpiod (ioctl)

npm install node-red-contrib-libgpiod

A set of input and output nodes for controlling General Purpose Input and Outputs (GPIOs) though libgpiod (ioctl)

Requirements

Install

cd ~/.node-red
npm install node-red-contrib-libgpiod

Usage

in nodes configuration choose device and correct pin number
for output inject msg.payload = true/1 for high state and false/0 for low state
for input inject any value to trigger reading

Tested on

  • LTPPxG2 with sp7021 SoC (32 bits, 512MB ram) running Yocto

Node Info

Version: 0.0.1
Updated 2 years, 2 months ago
License: MIT
Rating: 0.0

Actions

Rate:

Downloads

28 in the last week

Nodes

  • gpio-in
  • gpio-out

Keywords

  • node-red
  • gpio
  • libgpiod
  • ioctl

Maintainers