demo project

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

Revision:
27:4239713d9690
Parent:
26:6def77499117
--- a/main.cpp	Mon Feb 01 21:56:01 2016 +0000
+++ b/main.cpp	Tue Feb 02 00:47:57 2016 +0000
@@ -4,9 +4,11 @@
 #include "mbed.h"
 #include "rtos.h"
 
+#include "mbed/logging.h"
+
+#include "RobotArmCfg.h"
 #include "ControllerIo.h"
 
-
 extern void PrepareController();
 extern void RunController();
 extern bool StartIothubThread();
@@ -14,12 +16,16 @@
 
 int main()
 {
+    mbed_log_init();
+
     printf("**********************\r\n");
     printf("RobotArmDemo start\r\n");
     printf("**********************\r\n");
 
     ShowLedGreen();
     
+    ReadConfigValues();
+    
     // prepare the motion sequences
     PrepareController();