Mems sensor

LSM9DS1.h

Committer:
Anunnaki
Date:
2016-09-22
Revision:
0:da46ed0f1363
Child:
1:45447b012eea

File content as of revision 0:da46ed0f1363:

#include "mbed.h"

class LSM9DS1
{
    public:
        LSM9DS1(I2C i2c);
        void startMag(void);
        void readMag(float *results);
        void startAcc(void);
        void readAcc(float *results);
        void startGyro(void);
        void readGyro(float *results);
    private:
        I2C _i2c;    
};