Releases: adafruit/Adafruit_CircuitPython_LIS3DH
Now with shake detection!
- Added support for
lis3dh.shake
To use in CircuitPython, download adafruit_lis3dh.zip, unzip it, and copy adafruit_lis3dh to the lib folder on the CIRCUITPY drive. Or, simply install the Adafruit CircuitPython bundle.
use import struct and I2CDevice.readinto
- now uses import struct instead of ustruct
- Optimize the way data in unpacked using struct.unpack
- Changes made to follow changes in Adafruit_Circuitpyton_BusDevice.I2CDevice
Update examples.
Update Fidget spinner examples.
To use in CircuitPython, download the .mpy file and copy it to the lib folder on the CIRCUITPY drive. Or, simply install the Adafruit CircuitPython bundle.
Add ability to set CLICK_CFG register.
Add ability to specify the click detection configuration register value (CLICK_CFG) directly in the set_click function. Specify the click_cfg parameter with an 8-bit value and this will be used for the click configuration. This is useful for overriding the click config in special cases like only detecting one axis (vs. all 3 as is the default).
0.1.0 - Now with more SI units.
This requires CircuitPython 0.9.4+!
- Replace
read_accel_gwithaccelerationattribute that is in m / s ^ 2 instead of Gs. - Switch to new BusDevice API.
- Switch examples to
nativeiosplit APIs.
SPI bug fix
Small fix for SPI mode multiple byte read. Note this version requires CircuitPython 0.9.0 or higher as it depends on recent SPI write/read API changes.
Initial release
Manually creating release because Travis CI is apparently down!