![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2019-06-05
Dependencies: DataStorage NetworkManager IR_Manager WheelManager RestAPI_Manager
Diff: module_for_all.h
- Revision:
- 1:dc6fd86fb7f9
- Parent:
- 0:8eda451f71fa
- Child:
- 4:acd433b7ecd7
diff -r 8eda451f71fa -r dc6fd86fb7f9 module_for_all.h --- a/module_for_all.h Mon Oct 08 00:50:33 2018 +0000 +++ b/module_for_all.h Fri Dec 21 07:54:21 2018 +0000 @@ -11,22 +11,43 @@ #include "EthernetInterface.h" #include "TCPServer.h" #include "TCPSocket.h" +//#include "TCPSocketConnection.h" #include "mbed.h" +#include "DataStorage.h" #include "NetworkManager.h" #include "RestAPI_Manager.h" -#include "CPU_Usage.h" +#include "WheelManager.h" + +#include "rtos.h" +/* +DigitalOut _W1_A(PC_6); +DigitalOut _W1_B(PD_8); + +DigitalOut _W2_A(PA_12); +DigitalOut _W2_B(PA_11); + +DigitalOut _W3_A(PB_12); +DigitalOut _W3_B(PB_11); + +DigitalOut _W4_A(PB_2); +DigitalOut _W4_B(PB_15);*/ void split(const std::string&, std::vector<std::string>&, const char*); -char* stringToChar(std::string); +void stringToChar(char* tmpChar, std::string); +int stringToInt(std::string); + +std::string intToString(int); +std::string floatToString(float); void LED_PowerStart(); void LED_NetWait(); void LED_NetProcess(); +void myPrint(const char*, ...); int countRoot(std::string&); #endif \ No newline at end of file