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 Dec 08 02:28:57 2015 +0000
Parent:
12:b9d71de8733d
Child:
14:9748a17f6bce
Commit message:
Typo (uT to Gauss)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Dec 08 02:10:55 2015 +0000
+++ b/main.cpp	Tue Dec 08 02:28:57 2015 +0000
@@ -19,7 +19,7 @@
         // 0 Tesla is VDD/2
         // 12.2 mA/mT
         printf("b = %fuT\n\r",b); // Print out b field measure in micro-Tesla
-        printf("b = %fuT\n\r", b/100.0); // Output B field in Gauss
+        printf("b = %f Gauss\n\r", b/100.0); // Output B field in Gauss
         if (meas > 1.65) { // If the value is greater than 1.65V then switch the LED on
           // positive magnetic field
           led = 1;