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:
22:2aa22b4f49d6
Parent:
11:a80e854955dc
Child:
24:87d325eab299

File content as of revision 22:2aa22b4f49d6:

/************************* 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