Permet de créer, envoyer, filtrer et décrypter la trame meteo.

Dependents:   Simulation_carte_maitresse

Revision:
0:f442198ae6b0
Child:
1:0a49398a7bb3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/meteoCAN.h	Thu Jun 13 11:02:53 2019 +0000
@@ -0,0 +1,16 @@
+#ifndef METEO_CAN_H
+#define METEO_CAN_H
+ 
+#include "mbed.h"
+
+class meteoCAN
+{
+    public:
+        meteoCAN(PinName rd, PinName td); //CAN (PinName rd, PinName td)
+        bool send(uint16_t canID, float temperature, float humidite, float irradiance, float vitesse_vent, char direction_vent);
+      
+    private:
+        CAN can1;
+};
+
+#endif
\ No newline at end of file