projet capteur connecté ST/SE

Dependencies:   HP206C mbed HMC5883L DHT DS1820

Files at this revision

API Documentation at this revision

Comitter:
Fayge
Date:
Tue Sep 25 13:52:57 2018 +0000
Parent:
23:a0c3b5e101f1
Parent:
25:a919f3c1c3eb
Child:
27:d9dec879b7a6
Child:
29:e050039204ab
Child:
31:4a880aaabd1e
Commit message:
merge

Changed in this revision

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/H_sol.cpp	Tue Sep 25 13:52:57 2018 +0000
@@ -0,0 +1,14 @@
+//florent
+#include "H_sol.h"
+
+#define LOW_H 160
+#define HIGH_H 520
+
+
+//AnalogIn moisture(A0);//( A0 -> A7 )
+
+double getSoilHumidity(AnalogIn sensor)
+{
+    
+    return ((double)sensor)/((double)3.0);
+}
\ No newline at end of file