Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of workinQM_10thDec by
Diff: ACS.cpp
- Revision:
- 15:e09aaaccf134
- Parent:
- 13:fb7facaf308b
- Child:
- 16:f9e484dc505e
- Child:
- 36: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];
