Skip to content

Switch from i2c to use the i2c-bus node library

Latest
Compare
Choose a tag to compare
@nielsnl68 nielsnl68 released this 16 Sep 12:42
· 37 commits to master since this release

This version main goal was to switch underlying library from kelly's I2C node lib to Fivdi's i2c-bus library. This one is more suitable to work within node-red, because i can now open more then one connection to the i2c bus and is the config node not needed anymore.

The new version will not work anymore with the first Raspberry Pi with /dev/i2c-0, sorry for that.

=== Output node

  • With the i2c out node you can now define what kind of data is send to the i2c client.
  • You can daisy-chain this node, the input msg is send unchanged to the next node.

=== Input node

  • The output of the Input node will return a buffer or when chosen for 1 byte it will return a numeric value.