demo project

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

Files at this revision

API Documentation at this revision

Comitter:
henryrawas
Date:
Mon Feb 01 21:56:01 2016 +0000
Parent:
25:acc34bcf563e
Child:
27:4239713d9690
Commit message:
remove terminal

Changed in this revision

AX-12A.lib Show annotated file Show diff for this revision Revisions of this file
Terminal.lib Show diff for this revision Revisions of this file
iothub_client.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/AX-12A.lib	Mon Feb 01 18:47:06 2016 +0000
+++ b/AX-12A.lib	Mon Feb 01 21:56:01 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/robot-arm-demo-team/code/AX-12A/#f66c779ca018
+http://developer.mbed.org/teams/robot-arm-demo-team/code/AX-12A/#2e6eb60163f6
--- a/Terminal.lib	Mon Feb 01 18:47:06 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://developer.mbed.org/teams/robot-arm-demo-team/code/Terminal/#f8a631df8c97
--- a/iothub_client.lib	Mon Feb 01 18:47:06 2016 +0000
+++ b/iothub_client.lib	Mon Feb 01 21:56:01 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/henryrawas/code/iothub_client/#93273f654bac
+https://developer.mbed.org/users/henryrawas/code/iothub_client/#02a02ab6402f
--- 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();