miroRucka / bh1750

MIT License
3 stars 5 forks source link

iotjs: Port using mininal I2C API #16

Closed rzr closed 5 years ago

rzr commented 5 years ago

Node is still supported, while NPM's readBytes function is injected if not present on iotjs.

Also iotjs's I2C uses arrays not buffers objects, so it's verified before used.

Change-Id: Ie96abb07fe6f7d5ac4603969f2e2e50e428963e1 Signed-off-by: Philippe Coval philippe.coval@osg.samsung.com