Hugo Pristauz / Mbed 2 deprecated T01_Hello_IoT

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
hux
Date:
Thu Dec 08 07:59:47 2016 +0000
Child:
1:a9da1b6cfd44
Commit message:
Initial version of Tutorial 01 "Hello IoT". A tiny piece of code running a blinking LED1. The code has been tested on the following boards: Nordic nRF51-DK, ST Microelectronics NUCLEO-F303K8, NUCLEO-F401RE, NUCLEO-L476RG

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	Thu Dec 08 07:59:47 2016 +0000
@@ -0,0 +1,11 @@
+// Hello_IoT 
+// Tested with nRF51-DK, NUCLEO-F401RE, NUCLEO-L476RG, NUCLEO-F303K8 
+
+#include <mbed.h>
+
+   DigitalOut led(LED1);
+
+   main()
+   {  
+      for(;;) led = !led, wait(1.0);  
+   }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Dec 08 07:59:47 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/d75b3fe1f5cb
\ No newline at end of file