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
main.cpp@0:7b367e4faf76, 2022-10-14 (annotated)
- Committer:
- emanuel22e
- Date:
- Fri Oct 14 19:31:50 2022 +0000
- Revision:
- 0:7b367e4faf76
init;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| emanuel22e | 0:7b367e4faf76 | 1 | #include "mbed.h" |
| emanuel22e | 0:7b367e4faf76 | 2 | |
| emanuel22e | 0:7b367e4faf76 | 3 | DigitalOut myled(LED1); |
| emanuel22e | 0:7b367e4faf76 | 4 | |
| emanuel22e | 0:7b367e4faf76 | 5 | int main() { |
| emanuel22e | 0:7b367e4faf76 | 6 | while(1) { |
| emanuel22e | 0:7b367e4faf76 | 7 | myled = 1; |
| emanuel22e | 0:7b367e4faf76 | 8 | wait(0.2); |
| emanuel22e | 0:7b367e4faf76 | 9 | myled = 0; |
| emanuel22e | 0:7b367e4faf76 | 10 | wait(0.2); |
| emanuel22e | 0:7b367e4faf76 | 11 | } |
| emanuel22e | 0:7b367e4faf76 | 12 | } |