It adds a function to directly measure the energy. This helps in at least two scenarios:
1) Measure how much energy a device uses per day.
2) Measure very low power devices. As this does no numerical integration is quite accurate if you measure over a long time.
Originally reported by: Hermann Kraus (Bitbucket: hermr2d2, GitHub: Unknown)
This is actually a pull request, but I can't open one directly ("Access denied"). Please pull from https://bitbucket.org/hermr2d2/hlw8012.
It adds a function to directly measure the energy. This helps in at least two scenarios: 1) Measure how much energy a device uses per day. 2) Measure very low power devices. As this does no numerical integration is quite accurate if you measure over a long time.