Skip to content

Version 1.1

Choose a tag to compare

@fogzot fogzot released this 19 Apr 09:34
· 27 commits to main since this release

Fixes

  • Clarified unit of measure in the documentation of all getXXX100 functions.

New features

  • Added getXXX functions that return a pre-scaled double with the correct unit of measure.

For example, to read the current voltage RMS any one of the following two functions can be used:

// This will return the exact value read by the 6M, e.g., 34100 hundredths of V.
int32_t v1 = getVoltageRMS100(address);

// This pre-scales the value to V but the result is a floating point value: 341.0.
double v2 = getVoltageRMS(address);