25-08-2018, 09:28
Hello,
just spent some time for debugging my AQM because of a broken SHT31. This is because the function sht31.beginn() from the used adafruit library is blocking with no timeout if something with the sensor is wrong. Probably this is because of Wire.begin(); when the I2C bus is faulty.
Maybe this could be handled with a timeout and a error value of for example -98.7 is transmitted. I think this would make it easier to find problems with not answering boards.
regards,
engolling
just spent some time for debugging my AQM because of a broken SHT31. This is because the function sht31.beginn() from the used adafruit library is blocking with no timeout if something with the sensor is wrong. Probably this is because of Wire.begin(); when the I2C bus is faulty.
Maybe this could be handled with a timeout and a error value of for example -98.7 is transmitted. I think this would make it easier to find problems with not answering boards.
regards,
engolling