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
Files at revision 0:bb054fb43c57
| Name | Size | Actions |
|---|---|---|
| [up] | ||
| .gitignore | 32 | Revisions Annotate |
| RegisterWriter.lib | 72 | Revisions Annotate |
| kionix-kx123-driver.lib | 77 | Revisions Annotate |
| main.cpp | 2339 | Revisions Annotate |
| mbed-os.lib | 77 | Revisions Annotate |
Rohm/Kionix KX123-6000 | Accelerometer