node-red-contrib-revolution-pi-dio 0.0.4

Revolution Pi DI/DO/DIO access module for use in Node-Red

npm install node-red-contrib-revolution-pi-dio

This is a node.js module to use with node-red. It adds read/write nodes to acces bits of the Revolution Pi DIO Module.

It uses the getBit/setBit function of the piTest c-application.

Access via the ffi-module.

A shortended version of the piTest.c is compiled into a shared Library.

Please note, that there is no out of bounds check on the offset value... segmentation faults can be caused easily.

Idea for using ffi comes from this project: https://github.com/tmuellerWieland/revpi

Source Files for the piTest tool that are compiled into the libPiTest.so : https://github.com/RevolutionPi/piControl

Node Info

Version: 0.0.4
Updated 6 years, 5 months ago
License: ISC
Rating: not yet rated

Actions

Rate:

Downloads

9 in the last week

Nodes

  • revpi-read
  • revpi-write

Keywords

  • revolution
  • pi
  • node-red

Maintainers