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:6d9046881023, 2014-05-27 (annotated)
- Committer:
- ni
- Date:
- Tue May 27 08:48:39 2014 +0000
- Revision:
- 0:6d9046881023
oi!
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ni | 0:6d9046881023 | 1 | #include "mbed.h" |
| ni | 0:6d9046881023 | 2 | |
| ni | 0:6d9046881023 | 3 | DigitalOut myled(LED1); |
| ni | 0:6d9046881023 | 4 | |
| ni | 0:6d9046881023 | 5 | int main() { |
| ni | 0:6d9046881023 | 6 | while(1) { |
| ni | 0:6d9046881023 | 7 | myled = 1; |
| ni | 0:6d9046881023 | 8 | wait(0.2); |
| ni | 0:6d9046881023 | 9 | myled = 0; |
| ni | 0:6d9046881023 | 10 | wait(0.2); |
| ni | 0:6d9046881023 | 11 | } |
| ni | 0:6d9046881023 | 12 | } |