I2C BAE standalone hardware testing
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of ACS_Flowchart_BAE_1 by
Diff: ACS.cpp
- Revision:
- 15:e09aaaccf134
- Parent:
- 13:fb7facaf308b
- Child:
- 16:cc77770d787f
diff -r a9588f443f1a -r e09aaaccf134 ACS.cpp --- a/ACS.cpp Thu Apr 14 09:34:06 2016 +0000 +++ b/ACS.cpp Tue Apr 19 21:27:07 2016 +0000 @@ -421,7 +421,7 @@ gyro_data[i]=(float)bit_data; gyro_data[i]=gyro_data[i]/senstivity_gyro; gyro_data[i]+=gyro_error[i]; - // pc_acs.printf("%f\t",gyro_data[i]); + // pc_acs.printf("%f\t",gyro_data[i]); } // pc_acs.printf("\nMag Values:\n"); for(int i=0; i<3; i++) { @@ -430,7 +430,7 @@ mag_data[i]=(float)bit_data; mag_data[i]=mag_data[i]/senstivity_mag; mag_data[i]+=mag_error[i]; - // pc_acs.printf("%f\t",mag_data[i]); + //pc_acs.printf("%f\t",mag_data[i]); } for(int i=0; i<3; i++) { // data[i]=gyro_data[i];