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:db44472dcd7d, committed 2014-11-05
- Comitter:
- akhilpanayamparambil
- Date:
- Wed Nov 05 11:24:36 2014 +0000
- Commit message:
- Hello World LED Toggle Program for LPC1768 based Keil MCB1700 Board
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Wed Nov 05 11:24:36 2014 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "rtos.h"
+#define OSCODE
+
+BusOut leds(P1_28, P1_29, P1_31, P2_2, P2_3, P2_4, P2_5, P2_6);
+AnalogIn in(P0_25);
+
+int main() {
+ leds = 0x0F;
+
+ while (true)
+ {
+
+ printf("Toggle\n");
+ leds = ~(leds);
+ wait(1);
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-rtos.lib Wed Nov 05 11:24:36 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed-rtos/#1be1070d822f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Nov 05 11:24:36 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89 \ No newline at end of file