Dummy commit.
Dependents: iBeacon acnsensa acnSENSA
Fork of ACD52832_LSM9DS1 by
Diff: LSM9DS1.h
- Revision:
- 4:a1a57aaacc4c
- Parent:
- 1:45447b012eea
- Child:
- 5:d6a0d907988f
--- a/LSM9DS1.h Mon Jul 10 18:24:28 2017 +0000 +++ b/LSM9DS1.h Tue Sep 26 14:11:26 2017 +0000 @@ -1,9 +1,8 @@ #include "mbed.h" -class LSM9DS1 -{ +class LSM9DS1{ public: - LSM9DS1(I2C i2c); + LSM9DS1(I2C *i2c); void startMag(void); void readMag(int16_t *results); void startAcc(void); @@ -11,5 +10,5 @@ void startGyro(void); void readGyro(int16_t *results); private: - I2C _i2c; + I2C *_i2c; }; \ No newline at end of file