WaterMarkFork

Fork of WaterMark200ss by Javier Sing

Committer:
javiersing
Date:
Mon Nov 28 13:00:08 2016 +0000
Revision:
0:8db346e7a51a
Child:
1:4006d971a618
This is a Testing library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
javiersing 0:8db346e7a51a 1 float Moist200ss(AnalogIn moist)
javiersing 0:8db346e7a51a 2 {
javiersing 0:8db346e7a51a 3 float value = moist.read(); // lee el puerto analogico y lo muestra de 0-1V
javiersing 0:8db346e7a51a 4 float centibar = value / 0.0117155;
javiersing 0:8db346e7a51a 5 return centibar;
javiersing 0:8db346e7a51a 6 }