Akhil P / Mbed 2 deprecated HelloWorldMCB1700

Dependencies:   mbed-rtos mbed

Files at this revision

API Documentation at this revision

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

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib 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	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