@johntalton/ina219
v1.1.0
Published
A more feature rich version of the ina219 javascript package. It allows for controlling the power state and mode (triggered vs continuous etc)
Downloads
2
Readme
INA219
A more feature rich version of the ina219 javascript package. It allows for controlling the power state and mode (triggered vs continuous etc)
Install
standard npm install
npm install --save @johntalton/ina219
Timing
it is up to you to respect call timing of the chip. (todo add misc method to aid in calculation)
Resets
any events that cause unexpected reset of the calibration register should be validate on the caller side.
Power-down and Disabled Profiles
The defualt profile (32V /8 12bit 12bit continuous both) is reset when calling the shorthand powerdown() and disableADC() per spec, with the exception of using the 1sample version of the eum over the 12bit (usefull in diagnostics).