Dummy commit.
Dependents: iBeacon acnsensa acnSENSA
Fork of ACD52832_LSM9DS1 by
LSM9DS1.h@1:45447b012eea, 2016-09-23 (annotated)
- Committer:
- Anunnaki
- Date:
- Fri Sep 23 12:15:01 2016 +0000
- Revision:
- 1:45447b012eea
- Parent:
- 0:da46ed0f1363
- Child:
- 4:a1a57aaacc4c
Changed faulty addresses
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Anunnaki | 0:da46ed0f1363 | 1 | #include "mbed.h" |
Anunnaki | 0:da46ed0f1363 | 2 | |
Anunnaki | 0:da46ed0f1363 | 3 | class LSM9DS1 |
Anunnaki | 0:da46ed0f1363 | 4 | { |
Anunnaki | 0:da46ed0f1363 | 5 | public: |
Anunnaki | 0:da46ed0f1363 | 6 | LSM9DS1(I2C i2c); |
Anunnaki | 0:da46ed0f1363 | 7 | void startMag(void); |
Anunnaki | 1:45447b012eea | 8 | void readMag(int16_t *results); |
Anunnaki | 0:da46ed0f1363 | 9 | void startAcc(void); |
Anunnaki | 1:45447b012eea | 10 | void readAcc(int16_t *results); |
Anunnaki | 0:da46ed0f1363 | 11 | void startGyro(void); |
Anunnaki | 1:45447b012eea | 12 | void readGyro(int16_t *results); |
Anunnaki | 0:da46ed0f1363 | 13 | private: |
Anunnaki | 0:da46ed0f1363 | 14 | I2C _i2c; |
Anunnaki | 0:da46ed0f1363 | 15 | }; |