demo project

Dependencies:   AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL

Revision:
26:6def77499117
Parent:
24:f6aa0e64c5e1
Child:
27:4239713d9690
--- a/main.cpp	Mon Feb 01 18:47:06 2016 +0000
+++ b/main.cpp	Mon Feb 01 21:56:01 2016 +0000
@@ -4,14 +4,9 @@
 #include "mbed.h"
 #include "rtos.h"
 
-#include <Terminal.h>
 #include "ControllerIo.h"
 
 
-using namespace std;
-
-Terminal pc(USBTX, USBRX);
-
 extern void PrepareController();
 extern void RunController();
 extern bool StartIothubThread();
@@ -19,19 +14,9 @@
 
 int main()
 {
-    pc.baud(115200); 
-
-    pc.cls();
-    pc.foreground(Yellow);
-    pc.background(Black);
-
-    pc.locate(0, 0);
-    pc.printf("**********************\r\n");
-    pc.printf("RobotArmDemo start\r\n");
-    pc.printf("**********************\r\n");
-
-    pc.foreground(Teal);
-    pc.background(Black);
+    printf("**********************\r\n");
+    printf("RobotArmDemo start\r\n");
+    printf("**********************\r\n");
 
     ShowLedGreen();
     
@@ -44,7 +29,7 @@
     // time delay is to allow the position encoders to come online after initial power supply event ~ 5 secs
     Thread::wait(5000);
     
-    pc.printf("Initialization done. Ready to run. \r\n");
+    printf("Initialization done. Ready to run. \r\n");
 
     // try running this thread at a higher priority
     osThreadId maintid = osThreadGetId();