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: mbed MODSERIAL telemetry-master
main.cpp@0:453d27750ab3, 2015-05-05 (annotated)
- Committer:
- cheryl_he
- Date:
- Tue May 05 00:24:18 2015 +0000
- Revision:
- 0:453d27750ab3
- Child:
- 1:ff0fc50372c8
commit init
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| cheryl_he | 0:453d27750ab3 | 1 | #include "mbed.h" |
| cheryl_he | 0:453d27750ab3 | 2 | |
| cheryl_he | 0:453d27750ab3 | 3 | DigitalOut myled(LED1); |
| cheryl_he | 0:453d27750ab3 | 4 | |
| cheryl_he | 0:453d27750ab3 | 5 | int main() { |
| cheryl_he | 0:453d27750ab3 | 6 | while(1) { |
| cheryl_he | 0:453d27750ab3 | 7 | myled = 1; |
| cheryl_he | 0:453d27750ab3 | 8 | wait(0.2); |
| cheryl_he | 0:453d27750ab3 | 9 | myled = 0; |
| cheryl_he | 0:453d27750ab3 | 10 | wait(0.2); |
| cheryl_he | 0:453d27750ab3 | 11 | } |
| cheryl_he | 0:453d27750ab3 | 12 | } |