lyre liu / Mbed 2 deprecated project1

Dependencies:   mbed

Revision:
18:66c692073c2c
Parent:
17:688db5210e6b
diff -r 688db5210e6b -r 66c692073c2c main.cpp
--- a/main.cpp	Thu Mar 10 15:02:45 2016 +0000
+++ b/main.cpp	Fri Mar 11 11:55:40 2016 +0000
@@ -45,7 +45,7 @@
     
     vol_ref = 3.3;
     
-    mass = 333.3333*vol_ref*vol/RATIO ;        //The compute function of mass from the voltage
+    mass = 334.36*vol_ref*vol/RATIO-0.12513 ;        //The compute function of mass from the voltage
 }
 
 void SerialInit(void)