Prosper Van / Mbed 2 deprecated quadCommand2

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

quadCommand/sensorS/sensors.h

Committer:
gabdo
Date:
2013-06-10
Revision:
24:87d325eab299
Parent:
22:2aa22b4f49d6
Child:
35:2367d7923302

File content as of revision 24:87d325eab299:

/************************* quadCommand.h *********************************/
/*                                                                       */
/*************************************************************************/
#include "quadCommand.h"
#include "MMA8451Q.h"

#ifndef SENSORS_H
#define SENSORS_H

//Ticker sensorProcess;

class sensors
{
    public:
        sensors();
        void sendData();
        float getAbsoluteX();   // Get the value off level in the X directoin.
        float getAbsoluteY();   // Get the value off level in the Y directoin.
    
    private:
        MMA8451Q *acc;          // Pointer to the acceleromi
};
#endif