Test program for Interface

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 
00003 //DigitalOut myled(LED1);
00004 DigitalOut myled(LED3);
00005 
00006 int main() {
00007     while(1) {
00008         myled = 1;
00009         myled3 = 1;
00010         wait(0.2);
00011         myled = 0;
00012         myled3 = 0;        
00013         wait(0.2);
00014     }
00015 }