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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
2:7fe25750b23d | 2016-10-06 | MikkoZ | Updated libraries |
1:3ba9c0a0fd01 | 2016-09-30 | MikkoZ | Updated libraries |
0:bb054fb43c57 | 2016-09-29 | MikkoZ | Initial version with max/min G -value printing using 8G range. |