Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
quadCommand/sensorS/sensors.h
- Committer:
- gabdo
- Date:
- 2013-06-10
- Revision:
- 11:a80e854955dc
- Parent:
- 9:9e0d0ba5b6b1
- Child:
- 22:2aa22b4f49d6
File content as of revision 11:a80e854955dc:
/************************* 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
