Matheus Sampaio
Matheus Sampaio
Do you have plans to publish this library on `npmjs` registry?
Add a optional callback to I2C constructor. ```js const i2c = new I2C(DEFAULT_DDCCI_ADDR, { device: '/dev/i2c-1' }, (error) => { if (error) { console.error(error); } else { console.log('success'); } });...
Creating interface for `i2c_smbus_read_byte_data(file, position)`. Example (read EDID data): ```js const i2c = new I2C(0x50, { device: '/dev/i2c-1' }, async (error) => { if (error) { return console.error(error); } i2c.readByteDataAsync...