OhmBoyZ_Capstone / Mbed 2 deprecated MagneticRead Featured

Dependencies:   mbed

/media/uploads/Krabby127/ohmboyzvectorized.png

Repository for the 2015 OhmBoyZ Capstone group.

Files at this revision

API Documentation at this revision

Comitter:
Krabby127
Date:
Tue Nov 24 22:47:49 2015 +0000
Parent:
3:7285d6ff672b
Child:
5:760f85b3f309
Commit message:
Updated units to milliTesla

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Nov 24 22:45:23 2015 +0000
+++ b/main.cpp	Tue Nov 24 22:47:49 2015 +0000
@@ -15,7 +15,7 @@
         printf("meas = %fmV\n\r",meas); // Print out raw measurement in terms of mV
         //b=(meas/1000)/(4.0*12.2*100.0); // Based on equation 1
         // 12.2 mA/mT
-        //printf("b = %f Gauss\n\r",b); // Print out b field measure in Tesla
+        //printf("b = %f Gauss\n\r",b); // Print out b field measure in milliTesla
         //printf("B = %fuT\n\r", b*1000.0); // Output B field in micro-Tesla
         if (meas > 2000) { // If the value is greater than 2V then switch the LED on
           // greater than 410 microGauss [40 mT]