Closed udellc closed 2 years ago
All I2C sensors now have a NAK return built in to the measure function
@jamopopper , can you run a test on a few random i2c sensors to confirm? Initialize and run with a few i2c sensors attached; confirm logging; then remove sensors mid-operation in between sample cycles and see if program hangs.
Can confirm it works when using multiple sensors and unplugging wires on either and both sensors.
If an i2c sensor experiences an outage or malfunction in the field, it could hang the entire system. We need to test commonly used i2c sensors soon, if not all of them on Loom eventually, for recovery if unplugged during operation.