hello world

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

main.cpp

Committer:
juliehuang
Date:
2015-01-21
Revision:
3:bb8073c1f886
Parent:
2:1b2be38aa891

File content as of revision 3:bb8073c1f886:

#include "mbed.h"

DigitalOut myled(p21);


int main()
{
  
    while(1) {
        
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
        
    }
}