projet capteur connecté ST/SE
Dependencies: HP206C mbed HMC5883L DHT DS1820
Revision 40:0b19a258c614, committed 2018-10-01
- Comitter:
- SBACCARI
- Date:
- Mon Oct 01 09:31:55 2018 +0000
- Parent:
- 39:3deb6799e639
- Child:
- 41:d3434f5816ad
- Child:
- 42:5f39f3ba55a6
- Commit message:
- Code T_H_air
Changed in this revision
T_H_air.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/T_H_air.cpp Mon Oct 01 08:30:55 2018 +0000 +++ b/T_H_air.cpp Mon Oct 01 09:31:55 2018 +0000 @@ -1,6 +1,7 @@ #include "T_H_air.h" DHT sensor(PinName, DHTtype); +DigitalOut warningAir(LED3); float airHumidity(){ int err = 0; @@ -9,5 +10,6 @@ if( !err ){ return sensor.ReadHumidity() ; } + warningAir = 1; return EXIT_FAILURE ; } \ No newline at end of file