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:17e0c4a313bb, 2014-10-07 (annotated)
- Committer:
- rubens_mx
- Date:
- Tue Oct 07 15:46:32 2014 +0000
- Revision:
- 0:17e0c4a313bb
Hola mundo!! Versi?n 1.1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rubens_mx | 0:17e0c4a313bb | 1 | #include "mbed.h" |
rubens_mx | 0:17e0c4a313bb | 2 | |
rubens_mx | 0:17e0c4a313bb | 3 | DigitalOut myled(LED1); |
rubens_mx | 0:17e0c4a313bb | 4 | |
rubens_mx | 0:17e0c4a313bb | 5 | int main() { |
rubens_mx | 0:17e0c4a313bb | 6 | while(1) { |
rubens_mx | 0:17e0c4a313bb | 7 | myled = 1; |
rubens_mx | 0:17e0c4a313bb | 8 | wait(0.2); |
rubens_mx | 0:17e0c4a313bb | 9 | myled = 0; |
rubens_mx | 0:17e0c4a313bb | 10 | wait(0.2); |
rubens_mx | 0:17e0c4a313bb | 11 | } |
rubens_mx | 0:17e0c4a313bb | 12 | } |