Part One of my Project Course. Implementation of simple I/O and a custom defined protocol over UDP/IP.

Dependencies:   C12832 LM75B mbed EthernetInterface mbed-rtos

Revision:
2:6bfe732ba6bc
Parent:
1:b5c534165dfe
Child:
3:538e17979246
--- a/main.cpp	Wed Mar 14 07:59:21 2018 +0000
+++ b/main.cpp	Mon Mar 19 11:32:54 2018 +0000
@@ -5,7 +5,6 @@
 #include "potentiometer.h"
 #include "temperature.h"
 #include "slave.h"
-#include "command.h"
 #include "master.h"
 #include "selection.h"
    
@@ -25,7 +24,7 @@
     int id;
     
     mode = selection.determineMode();
-    printf("The mode you selected: '%s'\r\n", mode);
+    printf("The mode you selected: '%s'\r\n", mode.c_str());
 
     id = selection.determineId();
     printf("The id you selected is '%d'\r\n", id);