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 1dcb7dd commit 7128a9aCopy full SHA for 7128a9a
adafruit_circuitplayground/express.py
@@ -116,13 +116,6 @@ def __init__(self):
116
self._lis3dh = adafruit_lis3dh.LIS3DH_I2C(self._i2c, address=0x19)
117
self._lis3dh.range = adafruit_lis3dh.RANGE_8_G
118
119
- # Enables FIFO stream mode and then sets it to stream mode.
120
- # TODO(tdicola): Replace this with code that doesn't call an internal (starts with _)
121
- # method. https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH/issues/14
122
- # pylint: disable=protected-access
123
- self._lis3dh._write_register_byte(adafruit_lis3dh.REG_CTRL5, 0b01001000)
124
- self._lis3dh._write_register_byte(0x2E, 0b10000000)
125
-
126
@property
127
def acceleration(self):
128
"""Obtain data from the x, y and z axes.
0 commit comments