WaterMarkFork
Fork of WaterMark200ss by
Revision 1:4006d971a618, committed 2016-12-14
- Comitter:
- agrosmart
- Date:
- Wed Dec 14 09:46:24 2016 +0000
- Parent:
- 0:8db346e7a51a
- Commit message:
- -
Changed in this revision
WaterMark200ss.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/WaterMark200ss.h Mon Nov 28 13:00:08 2016 +0000 +++ b/WaterMark200ss.h Wed Dec 14 09:46:24 2016 +0000 @@ -1,6 +1,6 @@ float Moist200ss(AnalogIn moist) { float value = moist.read(); // lee el puerto analogico y lo muestra de 0-1V - float centibar = value / 0.0117155; + float centibar = (value * 2.81) / 0.0117155; return centibar; } \ No newline at end of file