Asa Ewing / Mbed OS mbed-os-rest-api-V1-2

Dependencies:   DataStorage NetworkManager IR_Manager WheelManager RestAPI_Manager

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers module_for_all.h Source File

module_for_all.h

00001 #ifndef MODULE_FOR_ALL_H
00002 #define MODULE_FOR_ALL_H
00003 
00004 #include <stdio.h>
00005 #include <iostream>
00006 #include <sstream>
00007 #include <string>
00008 #include <vector>
00009 #include <iterator>
00010 
00011 #include "EthernetInterface.h"
00012 #include "TCPServer.h"
00013 #include "TCPSocket.h"
00014 //#include "TCPSocketConnection.h"
00015 
00016 #include "mbed.h"
00017 
00018 #include "DataStorage.h"
00019 #include "NetworkManager.h"
00020 #include "RestAPI_Manager.h"
00021 #include "WheelManager.h"
00022 #include "IR_Manager.h"
00023 
00024 #include "rtos.h"
00025 #include "math.h"
00026 /*
00027 DigitalOut  _W1_A(PC_6);
00028 DigitalOut  _W1_B(PD_8);
00029 
00030 DigitalOut  _W2_A(PA_12);
00031 DigitalOut  _W2_B(PA_11);
00032 
00033 DigitalOut  _W3_A(PB_12);
00034 DigitalOut  _W3_B(PB_11);
00035 
00036 DigitalOut  _W4_A(PB_2);
00037 DigitalOut  _W4_B(PB_15);*/
00038 
00039 void split(const std::string&,
00040     std::vector<std::string>&,
00041                   const char*);
00042 
00043 void stringToChar(char* tmpChar, std::string);
00044 int stringToInt(std::string);
00045 
00046 std::string intToString(int);
00047 std::string floatToString(float);
00048 
00049 void LED_PowerStart();
00050 void LED_NetWait();
00051 void LED_NetProcess();
00052 void LED_NetProcess_checkServer();
00053 void myPrint(const char*, ...);
00054 int countRoot(std::string&);
00055 
00056 #endif