1
0
mirror of https://github.com/kidoman/embd synced 2024-06-08 12:07:48 +02:00
This commit is contained in:
Cullen Jennings 2016-05-22 09:39:30 -06:00
parent e87156263c
commit 802db1c399

View File

@ -3,6 +3,7 @@
// interfcace.
// TODO - add options to config voltage range, sensitivity and averaging
// TODO - Current and Power can overflow within normal ranges
// TODO - add documentation
package ina219
@ -24,7 +25,7 @@ const (
calibReg = 0x05
)
// INA219 represents a Bosch INA219 current sensor.
// INA219 represents an INA219 current sensor.
type INA219 struct {
Bus embd.I2CBus