test with accel
This commit is contained in:
parent
e85228bfaf
commit
f698f29903
1 changed files with 4 additions and 0 deletions
|
@ -67,3 +67,7 @@ class IMU:
|
||||||
return -((65535 - val) + 1)
|
return -((65535 - val) + 1)
|
||||||
else:
|
else:
|
||||||
return val
|
return val
|
||||||
|
|
||||||
|
imu = IMU()
|
||||||
|
while True:
|
||||||
|
print(imu.get_acc_angles())
|
||||||
|
|
Loading…
Reference in a new issue