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.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 1:7aaec772bb67
- Parent:
- 0:aeab047bd03b
--- a/main.cpp Sat Jun 28 04:21:53 2014 +0000
+++ b/main.cpp Sat Jun 28 04:29:43 2014 +0000
@@ -1,12 +1,12 @@
#include "mbed.h"
-
+#define flicker 0.2
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
- wait(0.2);
+ wait(flicker);
myled = 0;
- wait(0.2);
+ wait(flicker);
}
}