projet capteur connecté ST/SE

Dependencies:   HP206C mbed HMC5883L DHT DS1820

Committer:
MathieuM
Date:
Mon Oct 01 10:02:53 2018 +0000
Revision:
45:60f602ecd59b
Child:
46:40b6bbf6167e
Create config file

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MathieuM 45:60f602ecd59b 1 #ifndef __CONFIG__
MathieuM 45:60f602ecd59b 2 #define __CONFIG__
MathieuM 45:60f602ecd59b 3
MathieuM 45:60f602ecd59b 4 // communication
MathieuM 45:60f602ecd59b 5 #define SERIAL_PORT D1, D0
MathieuM 45:60f602ecd59b 6 #define WAIT_TIME 60*15 // 15 minutes
MathieuM 45:60f602ecd59b 7
MathieuM 45:60f602ecd59b 8 // T_H_air
MathieuM 45:60f602ecd59b 9 #define PinName D2
MathieuM 45:60f602ecd59b 10 #define DHTtype DHT22
MathieuM 45:60f602ecd59b 11
MathieuM 45:60f602ecd59b 12 // H_sol
MathieuM 45:60f602ecd59b 13 #define LOW_H 160
MathieuM 45:60f602ecd59b 14 #define HIGH_H 520
MathieuM 45:60f602ecd59b 15
MathieuM 45:60f602ecd59b 16 #endif