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:
- agfi68
- Date:
- 2011-12-08
- Revision:
- 0:6d1bba714771
File content as of revision 0:6d1bba714771:
#include "mbed.h"
BusOut myleds(LED1, LED2, LED3, LED4);
int main() {
for (int i=15; i>0; i--) {
myleds = i;
wait(1.0);
}
myleds = 0;
while (1) {
wait(0.2);
myleds = 15 - myleds;
}
}