from machine import Pin, I2C
from BMI160 import BMI160_I2C
from time import sleep_ms
i2c = I2C(sda=Pin(32), scl=Pin(33))
bmi160 = BMI160_I2C(i2c)
while True:
print("{0:>8}{1:>8}{2:>8}{3:>8}{4:>8}{5:>8}".format(*bmi160.getMotion6()))
sleep_ms(1000//25)
-
Notifications
You must be signed in to change notification settings - Fork 3
A MicroPython driver for Bosch's BMI160 IMU
License
serioeseGmbH/BMI160
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A MicroPython driver for Bosch's BMI160 IMU
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published