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:fd9390d59320
- Parent:
- 0:57f2c1b3b06f
--- a/main.cpp Tue May 23 11:26:29 2017 +0000
+++ b/main.cpp Tue May 23 11:37:23 2017 +0000
@@ -1,12 +1,8 @@
#include "mbed.h"
+#include "clock.h"
+DigitalOut myled(LED1);
-DigitalOut myled(LED1);
// This does not do much
int main() {
- while(1) {
- myled = 1;
- wait(0.2);
- myled = 0;
- wait(0.2);
- }
+ runClock();
}