Just a test file to check the status of the LEDS as well as print to the serial USN

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
ram
Date:
Thu Aug 05 17:22:00 2010 +0000
Commit message:

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 Aug 05 17:22:00 2010 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+
+DigitalOut myled1(LED1);
+DigitalOut myled2(LED2);
+DigitalOut myled3(LED3);
+DigitalOut myled4(LED4);
+
+Serial pc(USBTX, USBRX);
+int main()
+{
+pc.printf("The LED DEMO ");
+while(1)
+{
+myled1 = 1 ;
+myled2 = 0 ;
+myled3 = 1 ;
+myled4 = 0 ;
+
+}
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Aug 05 17:22:00 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/9114680c05da