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:967ec0349917, 2021-05-31 (annotated)
- Committer:
- marumbo
- Date:
- Mon May 31 19:21:01 2021 +0000
- Revision:
- 0:967ec0349917
created my first template program;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| marumbo | 0:967ec0349917 | 1 | #include "mbed.h" |
| marumbo | 0:967ec0349917 | 2 | |
| marumbo | 0:967ec0349917 | 3 | DigitalOut myled(LED1); |
| marumbo | 0:967ec0349917 | 4 | |
| marumbo | 0:967ec0349917 | 5 | int main() { |
| marumbo | 0:967ec0349917 | 6 | while(1) { |
| marumbo | 0:967ec0349917 | 7 | myled = 1; |
| marumbo | 0:967ec0349917 | 8 | wait(0.2); |
| marumbo | 0:967ec0349917 | 9 | myled = 0; |
| marumbo | 0:967ec0349917 | 10 | wait(0.2); |
| marumbo | 0:967ec0349917 | 11 | } |
| marumbo | 0:967ec0349917 | 12 | } |