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:6f4520ef0895, 2013-05-17 (annotated)
- Committer:
- ukelo
- Date:
- Fri May 17 21:28:39 2013 +0000
- Revision:
- 0:6f4520ef0895
- Child:
- 1:24c69dd2e170
hello
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ukelo | 0:6f4520ef0895 | 1 | #include "mbed.h" |
| ukelo | 0:6f4520ef0895 | 2 | |
| ukelo | 0:6f4520ef0895 | 3 | DigitalOut myled(LED1); |
| ukelo | 0:6f4520ef0895 | 4 | |
| ukelo | 0:6f4520ef0895 | 5 | int main() { |
| ukelo | 0:6f4520ef0895 | 6 | while(1) { |
| ukelo | 0:6f4520ef0895 | 7 | myled = 1; |
| ukelo | 0:6f4520ef0895 | 8 | wait(0.2); |
| ukelo | 0:6f4520ef0895 | 9 | myled = 0; |
| ukelo | 0:6f4520ef0895 | 10 | wait(0.2); |
| ukelo | 0:6f4520ef0895 | 11 | } |
| ukelo | 0:6f4520ef0895 | 12 | } |