Sensos Module Updated
Fork of Middleware by
Diff: Initial.h
- Revision:
- 3:1704050210b5
- Parent:
- 1:fd355dc296b1
--- a/Initial.h Wed Dec 09 04:50:13 2015 +0000 +++ b/Initial.h Thu Dec 10 02:31:36 2015 +0000 @@ -22,7 +22,6 @@ static DigitalOut ledRED(LED1); static DigitalOut ledGREEN(LED2); static DigitalOut ledBLUE(LED3); -static DigitalIn enable1(D8); static InterruptIn sw2(SW2); static EthernetInterface eth; static TCPSocketServer serverTCP; @@ -30,31 +29,10 @@ static TCPSocketConnection socketTCP2; static UDPSocket socketUDP; static StringManager stringManager; -//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; -/*Extern Variables*/ -//START PIR SENSOR INPUT INIT -static DigitalIn PIR1(D0); -static DigitalIn PIR2(D1); -//END PIR SENSOR INPUT INIT -//START WINDOW SENSOR INPUT -static DigitalIn W1(D2); -static DigitalIn W2(D3); -static DigitalIn W3(D4); -//END WINDOW SENSOR INPUT INIT -//START DOOR SENSOR INPUT -static DigitalIn DOORSensor(D5); -//END DOOR SENSOR INPUT INIT -//START LIGHT CONTROL OUTPUT -static DigitalOut LightControl(D6); -//END LIGHT CONTROL OUTPUT - - - #endif \ No newline at end of file