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.
Dependencies: DataStorage NetworkManager IR_Manager WheelManager RestAPI_Manager
module_for_all.h
- Committer:
- asaewing
- Date:
- 2019-06-05
- Revision:
- 4:acd433b7ecd7
- Parent:
- 1:dc6fd86fb7f9
File content as of revision 4:acd433b7ecd7:
#ifndef MODULE_FOR_ALL_H
#define MODULE_FOR_ALL_H
#include <stdio.h>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <iterator>
#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 "WheelManager.h"
#include "IR_Manager.h"
#include "rtos.h"
#include "math.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*);
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 LED_NetProcess_checkServer();
void myPrint(const char*, ...);
int countRoot(std::string&);
#endif