From 3bc60950149da3f6ba0d3517ca995f546a5b9deb Mon Sep 17 00:00:00 2001 From: Kacper Date: Sat, 26 Feb 2022 23:34:23 +0000 Subject: [PATCH] Update lis3dh.py --- lis3dh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lis3dh.py b/lis3dh.py index b610e71..6bc8b7b 100644 --- a/lis3dh.py +++ b/lis3dh.py @@ -74,6 +74,7 @@ class lis3dh: status = smbus2.i2c_msg.read(self.addr, 1) self.i2c.i2c_rdwr(check_status, status) while status.buf[0] != 0b1111: + print(status.buf[0], "\n") sleep(1) self.i2c.i2c_rdwr(check_status, status) if status.buf[0] == 0b1111: