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@0:dd6b3a6e5dab, 2019-10-24 (annotated)
- Committer:
- jslivkoff
- Date:
- Thu Oct 24 17:03:06 2019 +0000
- Revision:
- 0:dd6b3a6e5dab
.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| jslivkoff | 0:dd6b3a6e5dab | 1 | #include "mbed.h" |
| jslivkoff | 0:dd6b3a6e5dab | 2 | |
| jslivkoff | 0:dd6b3a6e5dab | 3 | DigitalOut myled(LED1); |
| jslivkoff | 0:dd6b3a6e5dab | 4 | |
| jslivkoff | 0:dd6b3a6e5dab | 5 | int main() { |
| jslivkoff | 0:dd6b3a6e5dab | 6 | while(1) { |
| jslivkoff | 0:dd6b3a6e5dab | 7 | myled = 1; |
| jslivkoff | 0:dd6b3a6e5dab | 8 | wait(0.2); |
| jslivkoff | 0:dd6b3a6e5dab | 9 | myled = 0; |
| jslivkoff | 0:dd6b3a6e5dab | 10 | wait(0.2); |
| jslivkoff | 0:dd6b3a6e5dab | 11 | } |
| jslivkoff | 0:dd6b3a6e5dab | 12 | } |