A Google search produces at least one path for a driver in C.
A bit of translation would produce the code that you need. ( a week to a month estimate) https://github.com/adafruit/Adafruit_INA219
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
A Google search produces at least one path for a driver in C.
A bit of translation would produce the code that you need. ( a week to a month estimate)
https://github.com/adafruit/Adafruit_INA219
This link is a good discussion of the chip
http://cdwilson.us/articles/understanding-the-INA219/
A NODEjs version of the code
https://github.com/brettmarl/node-ina219
and another
https://libraries.io/npm/ina219
Have fun sorting it all out.