periph / devices

Go·Hardware·Lean - Device drivers
https://periph.io
Apache License 2.0
85 stars 42 forks source link

ina260: Driver, initial commit for review. #64

Open Eibborest opened 11 months ago

Eibborest commented 11 months ago

First draft of driver for ina260 i2c Voltage, Current, Power monitor.

Currently Read() updates a structure with the voltage, current and power.

maruel commented 11 months ago

Thanks for the contribution! I left comments to help with the code but there's nothing critical.