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:19f95e21aa0d, 2014-09-06 (annotated)
- Committer:
- subashsfo
- Date:
- Sat Sep 06 22:14:09 2014 +0000
- Revision:
- 0:19f95e21aa0d
test;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| subashsfo | 0:19f95e21aa0d | 1 | |
| subashsfo | 0:19f95e21aa0d | 2 | |
| subashsfo | 0:19f95e21aa0d | 3 | #include "mbed.h" |
| subashsfo | 0:19f95e21aa0d | 4 | |
| subashsfo | 0:19f95e21aa0d | 5 | DigitalOut myled(LED1); |
| subashsfo | 0:19f95e21aa0d | 6 | |
| subashsfo | 0:19f95e21aa0d | 7 | int main() { |
| subashsfo | 0:19f95e21aa0d | 8 | while(1) { |
| subashsfo | 0:19f95e21aa0d | 9 | myled = 1; |
| subashsfo | 0:19f95e21aa0d | 10 | wait(10); |
| subashsfo | 0:19f95e21aa0d | 11 | myled = 0; |
| subashsfo | 0:19f95e21aa0d | 12 | wait(0.2); |
| subashsfo | 0:19f95e21aa0d | 13 | } |
| subashsfo | 0:19f95e21aa0d | 14 | } |