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:
- YTvW
- Date:
- 2016-11-29
- Revision:
- 3:11ab070a3edb
- Parent:
- 2:ff5abf6d887c
File content as of revision 3:11ab070a3edb:
#include "mbed.h"
#include "rtos.h"
#include "indicator.h"
DigitalIn knop(p8);
//DigitalOut myled(LED1);
DigitalOut led2(LED2);
DigitalOut led3(LED3);
Indicator led(LED1);
int main() {
Indicator led(LED4);
while(1) {
//myled = 1;
wait(0.2);
//myled = 0;
wait(0.2);
}
}