Search for the Adafruit INA219 library and install it
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
Load the Example
- Select "File -> Examples -> Adafruit_INA219 -> getcurrent"
- The "getcurrent" example code should open in a new IDE window.
Run it
- Click on the upload button in the IDE. When it is "done uploading"
- Open your Serial Monitor and set the speed to 115200 baud.
The output should appear similar to the sample below: