Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
- Committer:
- tesmex
- Date:
- 2011-02-13
- Revision:
- 0:1423c2c0e1c5
File content as of revision 0:1423c2c0e1c5:
#include "mbed.h"
PwmOut myled(LED1);
DigitalOut myled2(LED2);
int main() {
    unsigned int a;
    for(a=0;a<=9999;a++) {
        myled = 1;
        myled2=0;
        wait(a*0.001);
        myled = 0.1;
        myled2=1;
        wait(a*0.001);
    }
    while(1){}
}