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:80725699690f, 2015-01-09 (annotated)
- Committer:
- mlimbird
- Date:
- Fri Jan 09 14:53:44 2015 +0000
- Revision:
- 0:80725699690f
- Child:
- 1:e4ee659c2ddd
Made program
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mlimbird | 0:80725699690f | 1 | #include "mbed.h" |
| mlimbird | 0:80725699690f | 2 | |
| mlimbird | 0:80725699690f | 3 | DigitalOut myled(LED1); |
| mlimbird | 0:80725699690f | 4 | |
| mlimbird | 0:80725699690f | 5 | int main() { |
| mlimbird | 0:80725699690f | 6 | while(1) { |
| mlimbird | 0:80725699690f | 7 | myled = 1; |
| mlimbird | 0:80725699690f | 8 | wait(0.2); |
| mlimbird | 0:80725699690f | 9 | myled = 0; |
| mlimbird | 0:80725699690f | 10 | wait(0.2); |
| mlimbird | 0:80725699690f | 11 | } |
| mlimbird | 0:80725699690f | 12 | } |