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:273901b9fcc0, 2011-06-02 (annotated)
- Committer:
- solarboat
- Date:
- Thu Jun 02 05:17:52 2011 +0000
- Revision:
- 0:273901b9fcc0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
solarboat | 0:273901b9fcc0 | 1 | #include "mbed.h" |
solarboat | 0:273901b9fcc0 | 2 | |
solarboat | 0:273901b9fcc0 | 3 | DigitalOut myled(LED1); |
solarboat | 0:273901b9fcc0 | 4 | |
solarboat | 0:273901b9fcc0 | 5 | int main() { |
solarboat | 0:273901b9fcc0 | 6 | while(1) { |
solarboat | 0:273901b9fcc0 | 7 | myled = 1; |
solarboat | 0:273901b9fcc0 | 8 | wait(0.2); |
solarboat | 0:273901b9fcc0 | 9 | myled = 0; |
solarboat | 0:273901b9fcc0 | 10 | wait(0.2); |
solarboat | 0:273901b9fcc0 | 11 | } |
solarboat | 0:273901b9fcc0 | 12 | } |