projet capteur connecté ST/SE

Dependencies:   HP206C mbed HMC5883L DHT DS1820

Revision:
28:cf45b66e59f9
Parent:
27:d9dec879b7a6
Child:
33:2a6476c33e74
--- a/communication.h	Tue Sep 25 14:42:48 2018 +0000
+++ b/communication.h	Tue Sep 25 15:07:43 2018 +0000
@@ -1,5 +1,10 @@
-#define SERIAL_PORT (D1, D0)
+#ifndef __COMMUNICATION__
+#define __COMMUNICATION__
+
+#define SERIAL_PORT D1, D0
 
 void initCommunication();
 void sendMessage(char* data);
-char* genMessage(float h_sol);
\ No newline at end of file
+char* genMessage(float h_sol);
+
+#endif
\ No newline at end of file