@johntalton/adxl375
v1.0.1
Published
3-Axis Accelerometer using [`I2CBus`](https://github.com/johntalton/and-other-delights) abstraction
Readme
ADXL375
3-Axis Accelerometer using I2CBus abstraction
Example
import { I2CAddressedBus } from '@johntalton/and-other-delights'
import { ADXL375 } from '@johntalton/adxl375'
const bus = /* I2CBus */
const aBus = new I2CAddressedBus(bus, 0x53)
const device = new ADXL375(aBus)
const id = await device.getID()
const { x, y, z } = await device.getXYZ()
