projet capteur connecté ST/SE

Dependencies:   HP206C mbed HMC5883L DHT DS1820

Committer:
MathieuM
Date:
Mon Oct 01 10:32:14 2018 +0000
Revision:
46:40b6bbf6167e
Parent:
45:60f602ecd59b
Child:
48:824fda6804f1
updated main

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 46:40b6bbf6167e 9 #define PIN_NAME 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 46:40b6bbf6167e 16 // Warnings
MathieuM 46:40b6bbf6167e 17 #define W_AIR LED3
MathieuM 46:40b6bbf6167e 18
MathieuM 45:60f602ecd59b 19 #endif