Library to interface mbed with ArduIMU

Dependents:   ArduIMUHelloWorld

Revision:
0:d0d40a6fe11c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Arduimu.h	Mon Mar 24 20:26:15 2014 +0000
@@ -0,0 +1,27 @@
+#ifndef MBED_ARDUIMU_H
+#define MBED_ARDUIMU_H
+#include "mbed.h"
+
+class Arduimu
+{
+public:
+    Arduimu(PinName tx, PinName rx);
+    float getRoll();
+    float getPitch();
+    float getYaw();
+    void getOrientation(float& roll, float& pitch, float& yaw);
+    void putc(char c);
+private:
+    Serial imu;
+    void receive();
+    float roll;
+    float pitch;
+    float yaw;
+    
+};
+
+
+
+
+
+#endif
\ No newline at end of file