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
.gitignore@2:7fe25750b23d, 2016-10-06 (annotated)
- Committer:
- MikkoZ
- Date:
- Thu Oct 06 10:33:43 2016 +0000
- Revision:
- 2:7fe25750b23d
- Parent:
- 0:bb054fb43c57
Updated libraries
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MikkoZ | 0:bb054fb43c57 | 1 | .build |
MikkoZ | 0:bb054fb43c57 | 2 | .mbed |
MikkoZ | 0:bb054fb43c57 | 3 | projectfiles |
MikkoZ | 0:bb054fb43c57 | 4 | *.py* |