kelly / node-i2c

Node.js native bindings for i2c-dev. Plays well with Raspberry Pi and Beaglebone.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I write a command to a specific memory register ?

nemr opened this issue · comments

commented

Hello ,

How can I write a command to a specific memory register using this NPM ?

commented
wire.writeBytes(register, [command], function(err) {});

or

wire.writeByte(register);
wire.writeByte(command);
commented

Thanks :)