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.
Revision 1:147c352ea3f6, committed 2018-08-09
- Comitter:
- RCMISbed
- Date:
- Thu Aug 09 15:23:45 2018 +0000
- Parent:
- 0:21ff47307aba
- Commit message:
- mbed blinky led example
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Jul 29 06:26:33 2018 +0000 +++ b/main.cpp Thu Aug 09 15:23:45 2018 +0000 @@ -1,12 +1,12 @@ #include "mbed.h" -DigitalOut myled(LED1); +DigitalOut myled(LED3); int main() { while(1) { myled = 1; - wait(0.2); + wait(0.1); myled = 0; - wait(0.2); + wait(0.5); } }