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
--- a/selection.cpp	Wed Mar 14 07:59:21 2018 +0000
+++ b/selection.cpp	Mon Mar 19 11:32:54 2018 +0000
@@ -13,6 +13,7 @@
     
     string Selection::determineMode(void){
         printf("Select desired operating mode\r\n");
+        printf("Confirm by pressing down joystick\r\n");
         printf("Up = master, Down = slave\r\n");
         string selected_mode = "";
         while(joy.read() != 1){
@@ -34,7 +35,8 @@
     int Selection::determineId(void){
         wait(1);
         int selected_id = 100;
-        printf("Select desired id, range: 100-110\r\n");
+        printf("Select desired id, range: 100-110, standard = 100\r\n");
+        printf("Left = decrease, Right = increase\r\n");
         while(joy.read() != 1){
             if(joy.read()  == 8){
                 if(selected_id <= 110 && selected_id > 100){