Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 0:7242c5c68a3a, committed 2016-12-08
- 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