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:
- mseminatore
- Date:
- 2010-10-19
- Revision:
- 0:fe63a80288be
File content as of revision 0:fe63a80288be:
#include "mbed.h"
DigitalOut led1(LED1);
DigitalOut led2(LED2);
DigitalOut led3(LED3);
DigitalOut led4(LED4);
int main()
{
int counter = 0;
while (true)
{
led1 = counter & 1;
led2 = counter & 2;
led3 = counter & 4;
led4 = counter & 8;
wait(0.2);
counter++;
}
}