Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Committer:
pvaibhav
Date:
Thu Feb 12 17:17:35 2015 +0000
Revision:
5:b9f2f62a8f90
Parent:
1:c279bc3af90c
Child:
7:604a8369b801
Gyro data can now be read fine. 100 Hz.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pvaibhav 1:c279bc3af90c 1 #ifndef _H_ACCELEROMETER_H
pvaibhav 1:c279bc3af90c 2 #define _H_ACCELEROMETER_H
pvaibhav 1:c279bc3af90c 3
pvaibhav 1:c279bc3af90c 4 #include "I2CPeripheral.h"
pvaibhav 5:b9f2f62a8f90 5
pvaibhav 1:c279bc3af90c 6 class Accelerometer : public I2CPeripheral {
pvaibhav 1:c279bc3af90c 7 public:
pvaibhav 1:c279bc3af90c 8 Accelerometer(I2C &i2c);
pvaibhav 5:b9f2f62a8f90 9 void powerOn();
pvaibhav 5:b9f2f62a8f90 10 void deepSuspend();
pvaibhav 1:c279bc3af90c 11 };
pvaibhav 1:c279bc3af90c 12
pvaibhav 1:c279bc3af90c 13 #endif