jperkin / node-rpio

Raspberry Pi GPIO library for node.js
857 stars 123 forks source link

Adding function for I2C Read with restart #93

Closed matrix674 closed 4 years ago

matrix674 commented 5 years ago

Added the bindings to allow calls to the function bcm2835_i2c_read_register_rs() From bcm2835.c

jperkin commented 4 years ago

I've pushed an implementation for this in v1.6.0. I'm still waiting on some devices so I can test this for myself, so let me know if it works correctly as it's currently untested. Thanks for the PR and sorry it took so long to take a look at it.