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.
Diff: main.cpp
- Revision:
- 3:11ab070a3edb
- Parent:
- 2:ff5abf6d887c
--- a/main.cpp Tue Nov 22 10:59:11 2016 +0000
+++ b/main.cpp Tue Nov 29 08:40:18 2016 +0000
@@ -4,20 +4,20 @@
DigitalIn knop(p8);
-DigitalOut myled(LED1);
+//DigitalOut myled(LED1);
DigitalOut led2(LED2);
DigitalOut led3(LED3);
-
+Indicator led(LED1);
int main() {
- Thread indicator(led.indicator_thread();
+
Indicator led(LED4);
while(1) {
- myled = 1;
+ //myled = 1;
wait(0.2);
- myled = 0;
+ //myled = 0;
wait(0.2);
}
}