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

Dependents:   Simulation_carte_maitresse

Revision:
4:caf7ef3d4d6e
Parent:
3:7715f6cccb3a
Child:
5:a90b50a19ae4
--- a/meteoCAN.h	Fri Jun 14 09:17:58 2019 +0000
+++ b/meteoCAN.h	Fri Jun 14 09:47:35 2019 +0000
@@ -8,7 +8,7 @@
     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);
-        bool filtreID(uint16_t IDreceived, uint16_t IDtoFilter);
+        bool filtreID(CANMessage &msg, uint16_t IDtoFilter);
         float getTemperature(CANMessage &msg);
         float getHumidite(CANMessage &msg);
         uint16_t getIrradiance(CANMessage &msg);