Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial C12832 EndpointMain-rfid EthernetInterface Logger StatusReporter-df2014 mbed-rtos mbed
Fork of df-2014-workshop-rfid-case-generator-k64f by
Diff: main.cpp
- 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

