diff --git a/adafruit_lis3dh.py b/adafruit_lis3dh.py index 64d64d6..873486e 100755 --- a/adafruit_lis3dh.py +++ b/adafruit_lis3dh.py @@ -32,15 +32,9 @@ import time import math +from collections import namedtuple +import struct import digitalio -try: - from collections import namedtuple -except ImportError: - from ucollections import namedtuple -try: - import struct -except ImportError: - import ustruct as struct from micropython import const