Library for accelerometer and SysClean
BMI160.h@1:55d35606b477, 2016-10-18 (annotated)
- Committer:
- jotamo
- Date:
- Tue Oct 18 17:47:44 2016 +0000
- Revision:
- 1:55d35606b477
- Parent:
- 0:362698102bff
- Child:
- 2:f9ddabfe2eb6
Create cpp for library and it has Y angles value, still!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jotamo | 0:362698102bff | 1 | /* mbed library for the mbed BMI160 accelerometer |
jotamo | 0:362698102bff | 2 | Author: Josias Marcos Orlando |
jotamo | 0:362698102bff | 3 | Organization: SysClean Solutions |
jotamo | 0:362698102bff | 4 | */ |
jotamo | 0:362698102bff | 5 | |
jotamo | 0:362698102bff | 6 | #ifndef BMI160_H |
jotamo | 0:362698102bff | 7 | #define BMI160_H |
jotamo | 0:362698102bff | 8 | |
jotamo | 0:362698102bff | 9 | #include "mbed.h" |
jotamo | 0:362698102bff | 10 | #include "ST7567.h" |
jotamo | 0:362698102bff | 11 | |
jotamo | 0:362698102bff | 12 | class BMI160{ |
jotamo | 0:362698102bff | 13 | public: |
jotamo | 0:362698102bff | 14 | void configureAccelerometer(); |
jotamo | 0:362698102bff | 15 | void calculateMovement(); |
jotamo | 0:362698102bff | 16 | void readAccelerometer(); |
jotamo | 0:362698102bff | 17 | void runTempCommands(); |
jotamo | 0:362698102bff | 18 | void lcdClear(); |
jotamo | 0:362698102bff | 19 | }; |
jotamo | 0:362698102bff | 20 | |
jotamo | 0:362698102bff | 21 | |
jotamo | 0:362698102bff | 22 | #endif |