Table of contents
Collapse the table of content
Expand the table of content

SpbAccelerometer driver overview

Last Updated: 1/24/2017

This sample UMDF driver controls an ADXL345 accelerometer that is connected to a simple peripheral bus (SPB).The ADXL345 is a low-power, 3-axis, accelerometer that can measure +/-16g along each axis. This sensor supports both the SPI and I2C transports; the sample driver supports the I2C transport. (You can order an ADXL345 and breakout board from SparkFun.)

Even if your system doesn't support this sensor, you can use the sample driver as a reference for integrating other devices over I2C.

Send comments about this topic to Microsoft

© 2017 Microsoft