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:626906048498, 2016-02-19 (annotated)
- Committer:
- joseortega
- Date:
- Fri Feb 19 13:15:55 2016 +0000
- Revision:
- 0:626906048498
- Child:
- 1:83a13087626e
flexometro digital
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| joseortega | 0:626906048498 | 1 | #include "mbed.h" |
| joseortega | 0:626906048498 | 2 | |
| joseortega | 0:626906048498 | 3 | DigitalOut myled(LED1); |
| joseortega | 0:626906048498 | 4 | |
| joseortega | 0:626906048498 | 5 | int main() { |
| joseortega | 0:626906048498 | 6 | while(1) { |
| joseortega | 0:626906048498 | 7 | myled = 1; |
| joseortega | 0:626906048498 | 8 | wait(0.2); |
| joseortega | 0:626906048498 | 9 | myled = 0; |
| joseortega | 0:626906048498 | 10 | wait(0.2); |
| joseortega | 0:626906048498 | 11 | } |
| joseortega | 0:626906048498 | 12 | } |