Code APP3
Dependencies: mbed EthernetInterface WebSocketClient mbed-rtos BufferedSerial
Fork of APP3_Lab by
Diff: main.cpp
- Revision:
- 5:9e6a09a38785
- Parent:
- 2:a9bb12eefc08
- Child:
- 6:9ed8153f1328
--- a/main.cpp Sat Sep 30 18:24:44 2017 +0000 +++ b/main.cpp Sat Sep 30 18:36:28 2017 +0000 @@ -1,8 +1,9 @@ #include "mbed.h" #include "xbee.h" +#include "parser.h" -#define IS_COORDINATOR 0 +#define IS_COORDINATOR 1 #define PAN_ID 0xC0FFEE @@ -10,12 +11,15 @@ int main() { + ReadFile(); + xbee_init(); char c; char hello_world[12] = "Hello world"; + #if IS_COORDINATOR #else