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.
1 parent 8f5fa08 commit 346e8d3Copy full SHA for 346e8d3
adafruit_pybadger/pybadge.py
@@ -68,7 +68,9 @@ def __init__(self):
68
pass
69
_i2c_devices = i2c.scan()
70
i2c.unlock()
71
- if (int(0x18) in _i2c_devices): # PyBadge LC doesn't have accelerometer
+
72
+ # PyBadge LC doesn't have accelerometer
73
+ if int(0x18) in _i2c_devices or int(0x19) in _i2c_devices:
74
int1 = digitalio.DigitalInOut(board.ACCELEROMETER_INTERRUPT)
75
try:
76
self._accelerometer = adafruit_lis3dh.LIS3DH_I2C(
0 commit comments