projet capteur connecté ST/SE

Dependencies:   HP206C mbed HMC5883L DHT DS1820

Revision:
70:1e2e21c377ed
Parent:
67:3ccbc6a532eb
Child:
75:9f6a6c7d4bea
--- a/altitude.cpp	Tue Oct 09 15:14:35 2018 +0000
+++ b/altitude.cpp	Tue Oct 09 15:33:37 2018 +0000
@@ -4,8 +4,8 @@
 long pression(HP20x_dev* barometre)
 {
     long P = 0;
-    barometre->reset();
-    //pc.printf("SB : available? => %d \r\n", barometre.isAvailable() ); // DEBUG : show sensor status
+    //barometre->reset();
+    //pc.printf("SB, DEBUG : available? => %d \r\n", barometre->isAvailable() ); // DEBUG : show sensor status
     wait(2);
     P = barometre->ReadPressure();
     //pc.printf("P = %ul \r\n", P); // DEBUG : print pressure value