We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffafebc + 1756830 commit 946bb26Copy full SHA for 946bb26
adafruit_adxl34x.py
@@ -28,14 +28,11 @@
28
29
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
30
"""
31
+from struct import unpack
32
33
from micropython import const
34
from adafruit_bus_device import i2c_device
35
-try:
36
- from struct import unpack
37
-except ImportError:
38
- from ustruct import unpack
39
__version__ = "0.0.0-auto.0"
40
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ADXL34x.git"
41
_ADXL345_DEFAULT_ADDRESS = const(0x53) # Assumes ALT address pin low
0 commit comments