Sensos Module Updated
Fork of Middleware by
Initial.h@0:d1ff330c5128, 2015-12-05 (annotated)
- Committer:
- RoHe
- Date:
- Sat Dec 05 17:43:29 2015 +0000
- Revision:
- 0:d1ff330c5128
- Child:
- 1:fd355dc296b1
MiddleWare GUS
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RoHe | 0:d1ff330c5128 | 1 | /* |
RoHe | 0:d1ff330c5128 | 2 | |
RoHe | 0:d1ff330c5128 | 3 | Initial.h |
RoHe | 0:d1ff330c5128 | 4 | |
RoHe | 0:d1ff330c5128 | 5 | Only to improve the clarity of main .cpp |
RoHe | 0:d1ff330c5128 | 6 | This don't have any new classes |
RoHe | 0:d1ff330c5128 | 7 | |
RoHe | 0:d1ff330c5128 | 8 | Initial Configuration for |
RoHe | 0:d1ff330c5128 | 9 | Smart Room project is here |
RoHe | 0:d1ff330c5128 | 10 | |
RoHe | 0:d1ff330c5128 | 11 | Last update by RoHe 16/11/2015 |
RoHe | 0:d1ff330c5128 | 12 | */ |
RoHe | 0:d1ff330c5128 | 13 | |
RoHe | 0:d1ff330c5128 | 14 | #ifndef INITIAL_H_ |
RoHe | 0:d1ff330c5128 | 15 | #define INITIAL_H_ |
RoHe | 0:d1ff330c5128 | 16 | |
RoHe | 0:d1ff330c5128 | 17 | #include "mbed.h" |
RoHe | 0:d1ff330c5128 | 18 | #include "EthernetInterface.h" |
RoHe | 0:d1ff330c5128 | 19 | |
RoHe | 0:d1ff330c5128 | 20 | static Serial pc(USBTX, USBRX); |
RoHe | 0:d1ff330c5128 | 21 | static DigitalOut ledRED(LED1); |
RoHe | 0:d1ff330c5128 | 22 | static DigitalOut ledGREEN(LED2); |
RoHe | 0:d1ff330c5128 | 23 | static DigitalOut ledBLUE(LED3); |
RoHe | 0:d1ff330c5128 | 24 | static DigitalIn enable1(D8); |
RoHe | 0:d1ff330c5128 | 25 | static InterruptIn sw2(SW2); |
RoHe | 0:d1ff330c5128 | 26 | static TCPSocketConnection socketTCP1; |
RoHe | 0:d1ff330c5128 | 27 | static TCPSocketConnection socketTCP2; |
RoHe | 0:d1ff330c5128 | 28 | static UDPSocket socketUDP; |
RoHe | 0:d1ff330c5128 | 29 | //sstatic TCPSocketConnection socket; |
RoHe | 0:d1ff330c5128 | 30 | static char *cad; |
RoHe | 0:d1ff330c5128 | 31 | static char *s_myIP; |
RoHe | 0:d1ff330c5128 | 32 | //static char c_myIP[256]; |
RoHe | 0:d1ff330c5128 | 33 | static char *s_end="\n\r"; |
RoHe | 0:d1ff330c5128 | 34 | static bool bo_somethingWrong=false; |
RoHe | 0:d1ff330c5128 | 35 | |
RoHe | 0:d1ff330c5128 | 36 | |
RoHe | 0:d1ff330c5128 | 37 | #endif |