ryankurte / rust-sensor-scd30

A rust driver (and CLI utility) for the SCD30 environmental sensor
Mozilla Public License 2.0
3 stars 3 forks source link

Util fails with error polling for sensor ready on rpi3 #2

Open ryankurte opened 5 years ago

ryankurte commented 5 years ago

platform: Raspberry pi 3 os: Debian buster

04:20:44 [ERROR] Error polling for sensor ready: Conn(Io(Os { code: 5, kind: Other, message: "Input/output error" }))

This may be due to the clock stretching bug on the pi <3, so a retry could be reasonable behavior.

ryankurte commented 5 years ago

Tested this also occurs on the Pi4, which supposedly has clock stretching fix, might be stretching outside the allowed time bound or that I2C is cursed