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

Dependencies:   mbed

main.cpp

Committer:
ram
Date:
2010-08-05
Revision:
0:24b7b32b586b

File content as of revision 0:24b7b32b586b:

#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 ;

}
}