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: edge_sensor/edge_pressure.cpp
- Revision:
- 10:88e5b8157167
- Parent:
- 9:f958fa2cdc74
- Child:
- 12:4c0bd7fce2fd
diff -r f958fa2cdc74 -r 88e5b8157167 edge_sensor/edge_pressure.cpp --- a/edge_sensor/edge_pressure.cpp Fri Dec 08 08:31:30 2017 +0000 +++ b/edge_sensor/edge_pressure.cpp Mon Dec 11 02:11:50 2017 +0000 @@ -18,10 +18,10 @@ * 1.0V : 0 * 5.0V : 1MPa * (at 0.6V : -0.1MPa) - * Our sensor I/F converts 0-5V to 0-3V + * Our sensor I/F converts 0-5V to 0-1 * So we suppose V = Analog Float Value : Pressure - * 0.6V = 0.2 : 0 - * 3.0V = 1.0 : 1MPa + * 0.2 = 0 + * 1.0 = 1MPa */ float temp2expected(float temp)