refactor ina226: use driver base class

This commit is contained in:
Beat Küng
2020-03-06 10:54:21 +01:00
committed by Daniel Agar
parent d6b9cfa3e2
commit 832ccd262e
5 changed files with 73 additions and 309 deletions

View File

@@ -6,8 +6,8 @@
adc start
# Start Digital power monitors
ina226 -b 0 -t 1 -f start
ina226 -b 1 -t 2 -f start
ina226 -X -b 1 -t 1 -k start
ina226 -X -b 2 -t 2 -k start
# Internal SPI bus ICM-20602
mpu6000 -R 8 -s -T 20602 start