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
Revision 1:7aaec772bb67, committed 2014-06-28
- Comitter:
- lilac0112_1
- Date:
- Sat Jun 28 04:29:43 2014 +0000
- Parent:
- 0:aeab047bd03b
- Commit message:
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
}
}