2019-06-05

Dependencies:   DataStorage NetworkManager IR_Manager WheelManager RestAPI_Manager

Committer:
asaewing
Date:
Wed Jun 05 07:54:20 2019 +0000
Revision:
4:acd433b7ecd7
Parent:
1:dc6fd86fb7f9
1.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
asaewing 0:8eda451f71fa 1 #ifndef MODULE_FOR_ALL_H
asaewing 0:8eda451f71fa 2 #define MODULE_FOR_ALL_H
asaewing 0:8eda451f71fa 3
asaewing 0:8eda451f71fa 4 #include <stdio.h>
asaewing 0:8eda451f71fa 5 #include <iostream>
asaewing 0:8eda451f71fa 6 #include <sstream>
asaewing 0:8eda451f71fa 7 #include <string>
asaewing 0:8eda451f71fa 8 #include <vector>
asaewing 0:8eda451f71fa 9 #include <iterator>
asaewing 0:8eda451f71fa 10
asaewing 0:8eda451f71fa 11 #include "EthernetInterface.h"
asaewing 0:8eda451f71fa 12 #include "TCPServer.h"
asaewing 0:8eda451f71fa 13 #include "TCPSocket.h"
asaewing 1:dc6fd86fb7f9 14 //#include "TCPSocketConnection.h"
asaewing 0:8eda451f71fa 15
asaewing 0:8eda451f71fa 16 #include "mbed.h"
asaewing 0:8eda451f71fa 17
asaewing 1:dc6fd86fb7f9 18 #include "DataStorage.h"
asaewing 0:8eda451f71fa 19 #include "NetworkManager.h"
asaewing 0:8eda451f71fa 20 #include "RestAPI_Manager.h"
asaewing 1:dc6fd86fb7f9 21 #include "WheelManager.h"
asaewing 4:acd433b7ecd7 22 #include "IR_Manager.h"
asaewing 1:dc6fd86fb7f9 23
asaewing 1:dc6fd86fb7f9 24 #include "rtos.h"
asaewing 4:acd433b7ecd7 25 #include "math.h"
asaewing 1:dc6fd86fb7f9 26 /*
asaewing 1:dc6fd86fb7f9 27 DigitalOut _W1_A(PC_6);
asaewing 1:dc6fd86fb7f9 28 DigitalOut _W1_B(PD_8);
asaewing 1:dc6fd86fb7f9 29
asaewing 1:dc6fd86fb7f9 30 DigitalOut _W2_A(PA_12);
asaewing 1:dc6fd86fb7f9 31 DigitalOut _W2_B(PA_11);
asaewing 1:dc6fd86fb7f9 32
asaewing 1:dc6fd86fb7f9 33 DigitalOut _W3_A(PB_12);
asaewing 1:dc6fd86fb7f9 34 DigitalOut _W3_B(PB_11);
asaewing 1:dc6fd86fb7f9 35
asaewing 1:dc6fd86fb7f9 36 DigitalOut _W4_A(PB_2);
asaewing 1:dc6fd86fb7f9 37 DigitalOut _W4_B(PB_15);*/
asaewing 0:8eda451f71fa 38
asaewing 0:8eda451f71fa 39 void split(const std::string&,
asaewing 0:8eda451f71fa 40 std::vector<std::string>&,
asaewing 0:8eda451f71fa 41 const char*);
asaewing 0:8eda451f71fa 42
asaewing 1:dc6fd86fb7f9 43 void stringToChar(char* tmpChar, std::string);
asaewing 1:dc6fd86fb7f9 44 int stringToInt(std::string);
asaewing 1:dc6fd86fb7f9 45
asaewing 1:dc6fd86fb7f9 46 std::string intToString(int);
asaewing 1:dc6fd86fb7f9 47 std::string floatToString(float);
asaewing 0:8eda451f71fa 48
asaewing 0:8eda451f71fa 49 void LED_PowerStart();
asaewing 0:8eda451f71fa 50 void LED_NetWait();
asaewing 0:8eda451f71fa 51 void LED_NetProcess();
asaewing 4:acd433b7ecd7 52 void LED_NetProcess_checkServer();
asaewing 1:dc6fd86fb7f9 53 void myPrint(const char*, ...);
asaewing 0:8eda451f71fa 54 int countRoot(std::string&);
asaewing 0:8eda451f71fa 55
asaewing 0:8eda451f71fa 56 #endif