Sensos Module Updated
Fork of Middleware by
Initial.h@3:1704050210b5, 2015-12-10 (annotated)
- Committer:
- Jorge_Beltran
- Date:
- Thu Dec 10 02:31:36 2015 +0000
- Revision:
- 3:1704050210b5
- Parent:
- 1:fd355dc296b1
Updateed middleware library; Added ultrasonic function on sensors module
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 | 1:fd355dc296b1 | 19 | #include "StringManager.h" |
RoHe | 0:d1ff330c5128 | 20 | |
RoHe | 0:d1ff330c5128 | 21 | static Serial pc(USBTX, USBRX); |
RoHe | 0:d1ff330c5128 | 22 | static DigitalOut ledRED(LED1); |
RoHe | 1:fd355dc296b1 | 23 | static DigitalOut ledGREEN(LED2); |
RoHe | 0:d1ff330c5128 | 24 | static DigitalOut ledBLUE(LED3); |
RoHe | 0:d1ff330c5128 | 25 | static InterruptIn sw2(SW2); |
RoHe | 1:fd355dc296b1 | 26 | static EthernetInterface eth; |
RoHe | 1:fd355dc296b1 | 27 | static TCPSocketServer serverTCP; |
RoHe | 0:d1ff330c5128 | 28 | static TCPSocketConnection socketTCP1; |
RoHe | 0:d1ff330c5128 | 29 | static TCPSocketConnection socketTCP2; |
RoHe | 0:d1ff330c5128 | 30 | static UDPSocket socketUDP; |
RoHe | 1:fd355dc296b1 | 31 | static StringManager stringManager; |
RoHe | 0:d1ff330c5128 | 32 | static char *cad; |
RoHe | 0:d1ff330c5128 | 33 | static char *s_myIP; |
RoHe | 0:d1ff330c5128 | 34 | static char *s_end="\n\r"; |
RoHe | 0:d1ff330c5128 | 35 | static bool bo_somethingWrong=false; |
RoHe | 0:d1ff330c5128 | 36 | |
RoHe | 0:d1ff330c5128 | 37 | |
RoHe | 0:d1ff330c5128 | 38 | #endif |