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:16fa3b4a7a1f, 2021-02-15 (annotated)
- Committer:
- baskel
- Date:
- Mon Feb 15 08:46:44 2021 +0000
- Revision:
- 0:16fa3b4a7a1f
led blink;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| baskel | 0:16fa3b4a7a1f | 1 | #include "mbed.h" |
| baskel | 0:16fa3b4a7a1f | 2 | |
| baskel | 0:16fa3b4a7a1f | 3 | DigitalOut myled(LED1); |
| baskel | 0:16fa3b4a7a1f | 4 | |
| baskel | 0:16fa3b4a7a1f | 5 | int main() { |
| baskel | 0:16fa3b4a7a1f | 6 | while(1) { |
| baskel | 0:16fa3b4a7a1f | 7 | myled = 1; |
| baskel | 0:16fa3b4a7a1f | 8 | wait(0.2); |
| baskel | 0:16fa3b4a7a1f | 9 | myled = 0; |
| baskel | 0:16fa3b4a7a1f | 10 | wait(0.2); |
| baskel | 0:16fa3b4a7a1f | 11 | } |
| baskel | 0:16fa3b4a7a1f | 12 | } |