1
Dependencies: C12832 LM75B WifiEsp8266 Acquisitionentreesp2 AffichageSp1
Revision 1:aedf5dc7e337, committed 2021-06-06
- Comitter:
- schnf30
- Date:
- Sun Jun 06 18:10:29 2021 +0000
- Parent:
- 0:6100d27a72cf
- Commit message:
- 3
Changed in this revision
--- a/AffichageLcd.lib Sun Jun 06 12:44:24 2021 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://os.mbed.com/users/schnf30/code/AffichageLcdsp1/#7c64db40ac62
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AffichageSp1.lib Sun Jun 06 18:10:29 2021 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/schnf30/code/AffichageSp1/#5eab751035d2
--- a/WifiEsp8266.lib Sun Jun 06 12:44:24 2021 +0000 +++ b/WifiEsp8266.lib Sun Jun 06 18:10:29 2021 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/schnf30/code/WifiEsp8266sp1-2/#227c9c991c1b +https://os.mbed.com/users/schnf30/code/WifiEsp8266/#55ab98f52d77
--- a/main.cpp Sun Jun 06 12:44:24 2021 +0000 +++ b/main.cpp Sun Jun 06 18:10:29 2021 +0000 @@ -3,7 +3,7 @@ #include "platform/mbed_thread.h" #include "LM75B.h" #include "acquisition.h" -#include "affichage.h" +#include "affichagesp1.h" #include "wifiesp8266.h" float VitFluxAir = 0; @@ -13,7 +13,7 @@ float humidite = 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); Ticker test1; bool Drticker1 = false; @@ -30,7 +30,7 @@ AnalogIn Pot1(A0); AnalogIn Pot2(A1); LM75B sensor(D14,D15); - AffichageEcran(); + AffichageEcransp1(); PC.baud(921600); PC.printf("Hello je suis SP1\r\n"); test1.attach(&event1,1); @@ -48,8 +48,7 @@ Wifi.printf("$B%0.0f\r\n",ConsigneFluxAir); ecranchange=true; break; - default : - PC.printf("%s\r\n",WifiPhrase); + default : ; } } if (Drticker1) { @@ -61,7 +60,7 @@ ecranchange=true; } if (ecranchange) { - AffichageEcran(); + AffichageEcransp1(); ecranchange=false; } }