invensense icm20602 improvements

- refactor Run() into simple state machine
 - perform reset and configuration in sensor bus thread
 - when using data ready interrupt skip checking FIFO count
This commit is contained in:
Daniel Agar
2020-02-22 01:53:00 -05:00
parent 0c6d558c50
commit afc59f843c
7 changed files with 416 additions and 270 deletions

View File

@@ -7,9 +7,11 @@ adc start
# Internal SPI bus ICM-20602
mpu6000 -R 8 -s -T 20602 start
#icm20602
# Internal SPI bus ICM-20689
mpu6000 -R 8 -z -T 20689 start
#icm20689 start
# Internal SPI bus BMI055 accel
bmi055 -A -R 10 start