Hello world for Kionix KX123 accelerometer sensor. This example application uses kionix-kx123-driver -library to communicate with sensor via i2c-bus. Acceleration values are read for 3 axis and maximum and minimum values for X-axis is printed out when new max/min is reached. Code includes re-connection logic to ease up HW connection debugging.
Dependencies: RegisterWriter kionix-kx123-driver
mbed-os.lib@0:bb054fb43c57, 2016-09-29 (annotated)
- Committer:
- MikkoZ
- Date:
- Thu Sep 29 15:14:31 2016 +0000
- Revision:
- 0:bb054fb43c57
Initial version with max/min G -value printing using 8G range.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| MikkoZ | 0:bb054fb43c57 | 1 | https://github.com/ARMmbed/mbed-os/#21dd7008a1540c02150f1b87c12294301db979bb |
Rohm/Kionix KX123-6000 | Accelerometer