You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To coordinate reading of data from ina226 registers is necessary to read ConversionReadyFlag,
but it can done only calling waitForConversion,
that function in not cooperative multithread friendly (in esp8266 is necessary to call yeld or delay function when waiting).
I suggest same function whit single device target without loop and return cvBits.
The text was updated successfully, but these errors were encountered:
The existing routine can't be changed that way due to backwards compatibility issues with existing code. But it does open up the possibility of creating a conversionState() function which could return the state for either a single device or all devices. Let me think upon this.
To coordinate reading of data from ina226 registers is necessary to read ConversionReadyFlag,
but it can done only calling waitForConversion,
that function in not cooperative multithread friendly (in esp8266 is necessary to call yeld or delay function when waiting).
I suggest same function whit single device target without loop and return cvBits.
The text was updated successfully, but these errors were encountered: