The INA219 is a high-side current shunt and power monitor with an I2C interface. The INA219 monitors both shunt drop and supply voltage, with programmable conversion times and filtering. A programmable calibration value, combined with an internal multiplier, enables direct readouts in amperes. An additional multiplying register calculates power in watts. The I2C interface features 16 programmable addresses.

Revision:
2:a123ae7c1e4b
Parent:
1:2816fc874abc
diff -r 2816fc874abc -r a123ae7c1e4b INA219.h
--- a/INA219.h	Tue Nov 19 07:44:01 2013 +0000
+++ b/INA219.h	Fri Nov 22 08:36:36 2013 +0000
@@ -1,6 +1,7 @@
+#pragma once 
+
 #include "mbed.h"
 
-
 /* Supply measurement chip (TI INA 219)
    http://www.ti.com/product/ina219