From f698f29903dd5deb8d584d788786017c9a8ab6c8 Mon Sep 17 00:00:00 2001 From: Julian Gaal Date: Mon, 15 Apr 2019 20:22:38 +0200 Subject: [PATCH] test with accel --- test/imu.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/imu.py b/test/imu.py index 183ddba..cc2513c 100644 --- a/test/imu.py +++ b/test/imu.py @@ -67,3 +67,7 @@ class IMU: return -((65535 - val) + 1) else: return val + +imu = IMU() +while True: + print(imu.get_acc_angles())