Collin Curry
/
TTCEOS1
Pont Architecture Time Triggered OS
Gyrotask.c
- Committer:
- Lachrymosa
- Date:
- 2011-10-27
- Revision:
- 0:823a9a4db739
File content as of revision 0:823a9a4db739:
//#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