MBED_DEMOS / Mbed 2 deprecated df-2014-rfid-case-gen-k64f-exercise

Dependencies:   BufferedSerial C12832 EndpointMain-rfid EthernetInterface Logger StatusReporter-df2014 mbed-rtos mbed

Fork of df-2014-workshop-rfid-case-generator-k64f by Doug Anson

Revision:
4:46459ed734f3
Parent:
3:03108e424931
Child:
6:427c387b10e7
--- a/main.cpp	Wed Aug 27 05:40:16 2014 +0000
+++ b/main.cpp	Wed Aug 27 16:53:35 2014 +0000
@@ -107,7 +107,7 @@
           */
           
           logger.log("Generating Sample Case...");
-          bool success = case_generator.createCase("hello doug","this is a mbed case dispatch");
+          bool success = case_generator.createCase("hello mbed","this is a mbed case dispatch");
           if (success == true) {
             logger.log("Case Generated!");
           }
@@ -120,5 +120,10 @@
      }
      
      // disconnect
+     logger.log("Disconnecting...");
      ethernet.disconnect();
+     
+     // Exit
+     logger.log("Sleeping...");
+     while(1) wait(1000);
   }
\ No newline at end of file