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.
Diff: main.cpp
- 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)