Blinky program example for Hexiwear

Simply Import this Program into your mbed compiler Select Compile to generate the binary file

Plug the Hexiwear board on the Docking station via the Extension connector (white) Connect on end of the USB cable to your computer USB port and the other end to the micro-USB port of the Docking station.

Drag n drop the Hexi_Blinky-red_HEXIWEAR.bin into the DAP-LINK drive from your file explorer Wait for download to complete Press the RESET-K64F button of your Docking station to launch the program

The RGB LED of your Hexiwear board should now blink red fast (see picture below) !!

/media/uploads/GregC/hexi_blinky-red.jpg

Files at this revision

API Documentation at this revision

Comitter:
dan
Date:
Fri Oct 11 12:42:44 2013 +0000
Child:
1:0e7c9a80e2a6
Commit message:
First commit

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Oct 11 12:42:44 2013 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+
+int main() {
+    while(1) {
+        myled = 1;
+        wait(0.2);
+        myled = 0;
+        wait(0.2);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Oct 11 12:42:44 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file