Closed Tobola closed 3 years ago
Sorry for delay in responding I missed the email. This looks good, can you just update the readme to include this method? Your comment above contains all the info to document this method I think. Thx
I have added an entry regarding is_conversion_ready() to the read.me .
Published to PyPi as version 1.4.0, thanks for your contribution.
Proposing the method is_conversion_ready() to class INA219 for checking if conversion was done. The method is checking bit CNVR in the voltage register according to INA219 datasheet. This function is useful when streaming data seamlessly and without losses. With this is_conversion_ready() can be used for checking if conversion was done before reading the next measurement results.