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@2:ebeb395d52cd, 2015-01-09 (annotated)
- Committer:
- m-limbird
- Date:
- Fri Jan 09 13:23:49 2015 -0500
- Revision:
- 2:ebeb395d52cd
- Parent:
- 1:e4ee659c2ddd
- Child:
- 3:4f1ee929fbf4
Current revision
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; |
m-limbird | 2:ebeb395d52cd | 10 | wait(1.6); |
mlimbird | 0:80725699690f | 11 | } |
mlimbird | 0:80725699690f | 12 | } |