Pont Architecture Time Triggered OS

Dependencies:   mbed ITG3200

Revision:
0:823a9a4db739
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Gyrotask.c	Thu Oct 27 22:01:30 2011 +0000
@@ -0,0 +1,16 @@
+//#ifndef GYROTASK_C_GUARD
+//#define GYROTASK_C_GUARD
+#include "Gyrotask.h"
+extern Serial debug;
+void Gyrotask()
+{
+    debug.printf("Now starting ITG-3200... \n");
+
+     float GyroX = gyro.getGyroX()/0.0612; //+- the offset then / 0.0612 for divisions of voltage to = degrees/second.
+     float GyroY = gyro.getGyroY()/0.0612;
+     float GyroZ = gyro.getGyroZ()/0.0612;
+     
+     //debug.printf("%i, %i, %i\n", gyro.getGyroX(),
+     //gyro.getGyroY(), gyro.getGyroZ());
+}
+//#endif
\ No newline at end of file