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:c537586569bd, 2012-12-01 (annotated)
- Committer:
- gsmchq
- Date:
- Sat Dec 01 02:45:55 2012 +0000
- Revision:
- 0:c537586569bd
- Child:
- 1:e866d223adf7
myfirst
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| gsmchq | 0:c537586569bd | 1 | #include "mbed.h" |
| gsmchq | 0:c537586569bd | 2 | |
| gsmchq | 0:c537586569bd | 3 | DigitalOut myled(LED1); |
| gsmchq | 0:c537586569bd | 4 | |
| gsmchq | 0:c537586569bd | 5 | int main() { |
| gsmchq | 0:c537586569bd | 6 | while(1) { |
| gsmchq | 0:c537586569bd | 7 | myled = 1; |
| gsmchq | 0:c537586569bd | 8 | wait(0.2); |
| gsmchq | 0:c537586569bd | 9 | myled = 0; |
| gsmchq | 0:c537586569bd | 10 | wait(0.2); |
| gsmchq | 0:c537586569bd | 11 | } |
| gsmchq | 0:c537586569bd | 12 | } |