accel-adxl345 | Micro-RDK
accel-adxl345
The accel-adxl345 movement sensor model supports the Analog Devices ADXL345 digital accelerometer. This three axis accelerometer supplies linear acceleration data, supporting the LinearAcceleration method.
Attributes
| Name | Type | Required? | Description |
|---|---|---|---|
board |
string | Required | The name of the board to which the device is wired. |
i2c_bus |
string | Required | The name of the I2C bus on the board wired to this device. |
use_alt_i2c_address |
bool | Optional | Depends on whether you wire SDO low (leaving the default address of 0x53) or high (making the address 0x1D). If high, set true. If low, set false or omit the attribute. Default: false |