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.
Initial.h
- Committer:
- RoHe
- Date:
- 2015-12-05
- Revision:
- 0:d1ff330c5128
- Child:
- 1:fd355dc296b1
File content as of revision 0:d1ff330c5128:
/*
Initial.h
Only to improve the clarity of main .cpp
This don't have any new classes
Initial Configuration for
Smart Room project is here
Last update by RoHe 16/11/2015
*/
#ifndef INITIAL_H_
#define INITIAL_H_
#include "mbed.h"
#include "EthernetInterface.h"
static Serial pc(USBTX, USBRX);
static DigitalOut ledRED(LED1);
static DigitalOut ledGREEN(LED2);
static DigitalOut ledBLUE(LED3);
static DigitalIn enable1(D8);
static InterruptIn sw2(SW2);
static TCPSocketConnection socketTCP1;
static TCPSocketConnection socketTCP2;
static UDPSocket socketUDP;
//sstatic TCPSocketConnection socket;
static char *cad;
static char *s_myIP;
//static char c_myIP[256];
static char *s_end="\n\r";
static bool bo_somethingWrong=false;
#endif