Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Controle_ventilo_ethernet_v1_2_4 by
Diff: main.cpp
- Revision:
- 6:6567daa93121
- Parent:
- 5:cee119979b55
- Child:
- 7:3bdc6538ef40
--- a/main.cpp Wed May 17 15:36:31 2017 +0000 +++ b/main.cpp Thu May 18 16:14:44 2017 +0000 @@ -9,11 +9,11 @@ #include <string.h> //using namespace std; -const char* ECHO_SERVER_ADDRESS = "131.215.118.148"; // addresse du PC home "192.168.1.2" sergio "169.254.61.104" or "129.194.185.33" or "192.168.137.1" liotard "10.136.134.73" +const char* ECHO_SERVER_ADDRESS = "192.168.1.148"; // addresse du PC home "192.168.1.2" sergio "169.254.61.104" or "129.194.185.33" or "192.168.137.1" liotard "10.136.134.73" //#define IP "10.136.134.100" //#define GATEWAY "10.136.132.1" //"129.194.184.1" //#define MASK "255.255.252.0" -const int ECHO_SERVER_PORT = 1036; +const int ECHO_SERVER_PORT = 1039; // Front fans //PwmOut frontFans[] = {(PB_11), (PE_14), (PE_9), (PB_3), (PB_15), (PB_6), (PB_13), (PE_5), (PC_8)}; // PE_11 also possible for front fan n°5 @@ -21,8 +21,12 @@ // Rear fans //PwmOut rearFans[] = {(PB_10), (PE_12), (PE_10), (PE_11), (PC_6), (PD_13), (PC_7), (PE_6), (PC_9)}; // PE_10 also possible for rear fans n°5 -PwmOut frontFans[9]={PB_11,PE_14,PE_9,PB_3,PB_15,PB_6,PB_13,PE_5,PC_8}; -PwmOut rearFans[9]={PB_10,PE_12,PE_10,PE_11,PC_6,PD_13,PC_7,PE_6,PC_9}; +PwmOut frontFans[9]={PB_11,PE_14,PB_8,PB_3,PB_15,PB_6,PB_13,PE_5,PC_8}; +PwmOut rearFans[9]={PB_10,PE_12,PB_9,PE_11,PC_6,PD_13,PC_7,PE_6,PC_9}; + + +//PwmOut frontFans[9]={PB_11,PE_14,PE_9,PB_3,PB_15,PB_6,PB_13,PE_5,PC_8}; +//PwmOut rearFans[9]={PB_10,PE_12,PE_10,PE_11,PC_6,PD_13,PC_7,PE_6,PC_9}; DigitalOut fantest(LED1);