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:b63f9d740791, 2013-10-14 (annotated)
- Committer:
- mtrodriguezt
- Date:
- Mon Oct 14 20:37:21 2013 +0000
- Revision:
- 0:b63f9d740791
jjj
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mtrodriguezt | 0:b63f9d740791 | 1 | #include "mbed.h" |
| mtrodriguezt | 0:b63f9d740791 | 2 | |
| mtrodriguezt | 0:b63f9d740791 | 3 | DigitalOut myled(LED1); |
| mtrodriguezt | 0:b63f9d740791 | 4 | |
| mtrodriguezt | 0:b63f9d740791 | 5 | int main() { |
| mtrodriguezt | 0:b63f9d740791 | 6 | while(1) { |
| mtrodriguezt | 0:b63f9d740791 | 7 | myled = 1; |
| mtrodriguezt | 0:b63f9d740791 | 8 | wait(0.2); |
| mtrodriguezt | 0:b63f9d740791 | 9 | myled = 0; |
| mtrodriguezt | 0:b63f9d740791 | 10 | wait(0.2); |
| mtrodriguezt | 0:b63f9d740791 | 11 | } |
| mtrodriguezt | 0:b63f9d740791 | 12 | } |