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:
- bky
- Date:
- 2020-11-30
- Revision:
- 7:12eed49f95fc
- Parent:
- 3:4a9a0ca52aab
- Child:
- 8:9f59ef177620
File content as of revision 7:12eed49f95fc:
#include "mbed.h" #include "input_driver.h" #include "output_driver.h" #include <time.h> DigitalOut myled(LED1); int main() { int flashTime = 0; while(1) { if(getFlashDetected()) { printf("flash as %d", clock()); } } }