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:679afb0ef65b, 2022-05-22 (annotated)
- Committer:
- hughbellinger
- Date:
- Sun May 22 18:15:44 2022 +0000
- Revision:
- 0:679afb0ef65b
- Child:
- 1:ae75c5bfd6c6
f;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| hughbellinger | 0:679afb0ef65b | 1 | #include "mbed.h" |
| hughbellinger | 0:679afb0ef65b | 2 | |
| hughbellinger | 0:679afb0ef65b | 3 | DigitalOut myled(LED1); |
| hughbellinger | 0:679afb0ef65b | 4 | |
| hughbellinger | 0:679afb0ef65b | 5 | int main() { |
| hughbellinger | 0:679afb0ef65b | 6 | while(1) { |
| hughbellinger | 0:679afb0ef65b | 7 | myled = 1; |
| hughbellinger | 0:679afb0ef65b | 8 | wait(0.2); |
| hughbellinger | 0:679afb0ef65b | 9 | myled = 0; |
| hughbellinger | 0:679afb0ef65b | 10 | wait(0.2); |
| hughbellinger | 0:679afb0ef65b | 11 | } |
| hughbellinger | 0:679afb0ef65b | 12 | } |