Damian Herman / Mbed 2 deprecated NetrunnerMain

Dependencies:   mbed

Revision:
3:def8a92db030
Parent:
2:09cc6b203fe4
Child:
4:cc391b3f3e57
--- a/main.cpp	Tue Jun 23 08:32:15 2015 +0000
+++ b/main.cpp	Wed Jun 24 09:26:07 2015 +0000
@@ -1,5 +1,6 @@
 #include "mbed.h"
 #include "include/EngineDriver.h"
+#include "include/SerialPrompt.h"
 Serial pc(SERIAL_TX, SERIAL_RX);
 int initDrivingUnit(int testLoops)
 {
@@ -17,9 +18,10 @@
 }
 int main()
 {
-    if(initDrivingUnit(5) == 0)
+    if(initDrivingUnit(1) == 0)
     {
-        pc.printf("Ready to accept commands.\n\r$>");
+        pc.printf("Ready to accept commands.\n\r");
+        displayPrompt(&pc);
     }
     while (true) 
     {