I am trying to poll data from an I2C device on a Raspberry Pi. Currently it is hooked up to a 7" touch screen, and I am getting an error that seems to be due to a clock-stretching bug. (https://github.com/fivdi/i2c-bus/issues/36) (http://www.advamation.com/knowhow/raspberrypi/rpi-i2c-bug.html)
Will removing the screen and running the Pi headless improve baud rate performance / clock consistency?
I am getting the following error:
/home/pi//node_modules/i2c-bus/i2c-bus.js:355
return i2c.readI2cBlockSync(peripheralSync(this, addr), cmd, length, buffer);
^
Error: , Remote I/O error
at Bus.readI2cBlockSync (/home/pi/node_modules/i2c-bus/i2c-bus.js:355:14)
at Ina219.readRegister (/home/pi/node_modules/ina219/ina219.js:184:12)
at Ina219.getShuntVoltage_raw (/home/pi/node_modules/ina219/ina219.js:448:7)
at Ina219.getShuntVoltage_mV (/home/pi/node_modules/ina219/ina219.js:500:7)
at Timeout.setInterval [as _onTimeout] (/home/pi/test.js:44:12)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)```