2019-06-05

Dependencies:   DataStorage NetworkManager IR_Manager WheelManager RestAPI_Manager

Committer:
asaewing
Date:
Fri Dec 21 07:54:21 2018 +0000
Revision:
1:dc6fd86fb7f9
Parent:
0:8eda451f71fa
Child:
4:acd433b7ecd7
First 2018-12-21

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 1:dc6fd86fb7f9 22
asaewing 1:dc6fd86fb7f9 23 #include "rtos.h"
asaewing 1:dc6fd86fb7f9 24 /*
asaewing 1:dc6fd86fb7f9 25 DigitalOut _W1_A(PC_6);
asaewing 1:dc6fd86fb7f9 26 DigitalOut _W1_B(PD_8);
asaewing 1:dc6fd86fb7f9 27
asaewing 1:dc6fd86fb7f9 28 DigitalOut _W2_A(PA_12);
asaewing 1:dc6fd86fb7f9 29 DigitalOut _W2_B(PA_11);
asaewing 1:dc6fd86fb7f9 30
asaewing 1:dc6fd86fb7f9 31 DigitalOut _W3_A(PB_12);
asaewing 1:dc6fd86fb7f9 32 DigitalOut _W3_B(PB_11);
asaewing 1:dc6fd86fb7f9 33
asaewing 1:dc6fd86fb7f9 34 DigitalOut _W4_A(PB_2);
asaewing 1:dc6fd86fb7f9 35 DigitalOut _W4_B(PB_15);*/
asaewing 0:8eda451f71fa 36
asaewing 0:8eda451f71fa 37 void split(const std::string&,
asaewing 0:8eda451f71fa 38 std::vector<std::string>&,
asaewing 0:8eda451f71fa 39 const char*);
asaewing 0:8eda451f71fa 40
asaewing 1:dc6fd86fb7f9 41 void stringToChar(char* tmpChar, std::string);
asaewing 1:dc6fd86fb7f9 42 int stringToInt(std::string);
asaewing 1:dc6fd86fb7f9 43
asaewing 1:dc6fd86fb7f9 44 std::string intToString(int);
asaewing 1:dc6fd86fb7f9 45 std::string floatToString(float);
asaewing 0:8eda451f71fa 46
asaewing 0:8eda451f71fa 47 void LED_PowerStart();
asaewing 0:8eda451f71fa 48 void LED_NetWait();
asaewing 0:8eda451f71fa 49 void LED_NetProcess();
asaewing 1:dc6fd86fb7f9 50 void myPrint(const char*, ...);
asaewing 0:8eda451f71fa 51 int countRoot(std::string&);
asaewing 0:8eda451f71fa 52
asaewing 0:8eda451f71fa 53 #endif