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@1:e4ee659c2ddd, 2015-01-09 (annotated)
- Committer:
- m-limbird
- Date:
- Fri Jan 09 10:27:04 2015 -0500
- Revision:
- 1:e4ee659c2ddd
- Parent:
- 0:80725699690f
- Child:
- 2:ebeb395d52cd
Changed wait time
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; |
| m-limbird | 1:e4ee659c2ddd | 8 | wait(1.5); |
| mlimbird | 0:80725699690f | 9 | myled = 0; |
| mlimbird | 0:80725699690f | 10 | wait(0.2); |
| mlimbird | 0:80725699690f | 11 | } |
| mlimbird | 0:80725699690f | 12 | } |