Add LPC1768

Dependencies:   mbed-rtos mbed Xbus

Fork of MTi-1_example by Xsens

Revision:
38:d8d410d1662c
Parent:
37:3e87bf647c68
Child:
39:9014c5236864
diff -r 3e87bf647c68 -r d8d410d1662c main.cpp
--- a/main.cpp	Thu May 21 12:54:35 2015 +0200
+++ b/main.cpp	Thu May 21 13:05:49 2015 +0200
@@ -381,6 +381,18 @@
 	}
 }
 
+static void printIntroMessage(void)
+{
+	pc.printf("\n\n\n\n\n");
+	pc.printf("MTi-1 series embedded example firmware.\n");
+}
+
+static void printUsageInstructions(void)
+{
+	pc.printf("\n");
+	pc.printf("Press 'm' to start measuring and 'c' to return to config mode.\n");
+}
+
 int main(void)
 {
 	XbusParserCallback xbusCallback = {};
@@ -390,9 +402,12 @@
 
 	xbusParser = XbusParser_create(&xbusCallback);
 	configureSerialPorts();
+
+	printIntroMessage();
 	wakeupMotionTracker();
 	if (configureMotionTracker())
 	{
+		printUsageInstructions();
 		for (;;)
 		{
 			while (pc.readable())