Timer program example for Hexiwear

Fork of Hexi_Timer_Example by Hexiwear

This project demonstrates the use of a Hexiwear Serial interface

Open a Hyperterminal tool on your computer and connect it to the "mbed Serial port (COMxx)" with Baud rate "9600bps"

Compile the project and copy the binary "Hexi_Serial_HEXIWEAR.bin" in the DAP-LINK drive from your computer file explorer Press the K64F-RESET button on the docking station to start the program on your board

Message "Hello World!" will appear in the Hyperterminal window Then every 500ms the value of an incremented variable will be displayed and Blue LED will blink accordingly

Revision:
1:d1b88d737fc1
Parent:
0:19c6b2e95531
diff -r 19c6b2e95531 -r d1b88d737fc1 main.cpp
--- a/main.cpp	Mon Aug 15 16:06:59 2016 +0000
+++ b/main.cpp	Mon Aug 15 17:04:00 2016 +0000
@@ -6,7 +6,7 @@
 int main()
 {
     t.start();
-    pc.printf("Hello World!\n");
+    pc.printf("Hello World!\r\n");
     t.stop();
-    pc.printf("The time taken to boot and display this message was %f seconds\n", t.read());
+    pc.printf("The time taken to boot and display this message was %f seconds\r\n\n", t.read());
 }
\ No newline at end of file