How write multi data with i2c

Hi guys! I’m using this node “node-red-contrib-i2c“

But I need write multiples bytes and this node only allow write 1 byte.

The message what need send is the next:

I Start|Address Write| data byte 0| data byte 1|… |stop|

How can do this?

Thanks!

The node documentation says:

This node will send a given String/array/buffer to a given device.

Try sending an array.

1 Like