Allow LTC2451 I2C command retry while conversion in progress
The LTC2451 ADC does not respond to I2C commands while a conversion in progress. This can cause problems if subsequent reads are performed too close together.
This addresses the issue by allowing each I2C command to fail (catch ComIOException
) once. The class then waits for ~45ms (longest conversion time) and retries the command. If the command fails the second time, then the exception is forwarded.
Edited by Karol Krizka
Merge request reports
Activity
added 1 commit
- b4808026 - Missing end of multi-line comment on LTC2451.
mentioned in commit 09e5298d
Please register or sign in to reply