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.
Dependencies: EthernetInterface mbed
Fork of HelloWorld by
main.cpp@3:16dfd156f790, 2015-03-07 (annotated)
- Committer:
- brucetsao
- Date:
- Sat Mar 07 07:12:08 2015 +0000
- Revision:
- 3:16dfd156f790
- Parent:
- 0:fb6bbc10ffa0
test;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| simon | 0:fb6bbc10ffa0 | 1 | #include "mbed.h" |
| simon | 0:fb6bbc10ffa0 | 2 | |
| simon | 0:fb6bbc10ffa0 | 3 | DigitalOut myled(LED1); |
| simon | 0:fb6bbc10ffa0 | 4 | |
| simon | 0:fb6bbc10ffa0 | 5 | int main() { |
| simon | 0:fb6bbc10ffa0 | 6 | while(1) { |
| simon | 0:fb6bbc10ffa0 | 7 | myled = 1; |
| simon | 0:fb6bbc10ffa0 | 8 | wait(0.2); |
| simon | 0:fb6bbc10ffa0 | 9 | myled = 0; |
| simon | 0:fb6bbc10ffa0 | 10 | wait(0.2); |
| brucetsao | 3:16dfd156f790 | 11 | |
| simon | 0:fb6bbc10ffa0 | 12 | } |
| simon | 0:fb6bbc10ffa0 | 13 | } |
