vers 2
Dependencies: Affichagesp2 C12832 LM75B WifiEsp8266 Acquisitionentreesp2
Diff: main.cpp
- Revision:
- 2:6dc5c193940c
- Parent:
- 1:c7890e7c361e
--- a/main.cpp Sun Jun 06 12:18:28 2021 +0000 +++ b/main.cpp Sun Jun 06 18:08:33 2021 +0000 @@ -3,7 +3,7 @@ #include "platform/mbed_thread.h" #include "LM75B.h" #include "acquisition.h" -#include "affichage.h" +#include "affichagesp2.h" #include "wifiesp8266.h" float VitFluxAir = 0; @@ -14,7 +14,7 @@ float Aic = 0; RawSerial PC(USBTX, USBRX); -WifiEsp8266 Wifi(PA_11,PA_12); // WifiEsp8266(PinName Txd, PinName Rxd, PinName En); +WifiEsp8266 Wifi(PA_11,PA_12); // WifiEsp8266(PinName Txd, PinName Rxd,float _timeout); DigitalOut En(PC_11); LM75B sensor(D14,D15); @@ -32,7 +32,7 @@ bool ecranchange=false; AnalogIn Pot1(A0); AnalogIn Pot2(A1); - AffichageEcran(); + AffichageEcransp2(); PC.baud(921600); PC.printf("Hello je suis SP2\r\n"); test1.attach(&event1,1); @@ -78,7 +78,7 @@ ecranchange=true; } if (ecranchange) { - AffichageEcran(); + AffichageEcransp2(); ecranchange=false; } }