Isaac Cruz
/
Practica_6_-_Ejercicio_02
Practica_6_-_Ejercicio_02
main.cpp@24:7f14b70fc9ef, 2019-04-08 (annotated)
- Committer:
- James Cox-Morton
- Date:
- Mon Apr 08 11:03:25 2019 +0100
- Revision:
- 24:7f14b70fc9ef
- Parent:
- 23:c76594f491f2
- Child:
- 25:90e7333db6a7
Backed out changeset c76594f491f2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dan | 0:7dec7e9ac085 | 1 | #include "mbed.h" |
dan | 0:7dec7e9ac085 | 2 | |
dan | 0:7dec7e9ac085 | 3 | DigitalOut myled(LED1); |
dan | 0:7dec7e9ac085 | 4 | |
dan | 0:7dec7e9ac085 | 5 | int main() { |
dan | 0:7dec7e9ac085 | 6 | while(1) { |
dan | 0:7dec7e9ac085 | 7 | myled = 1; |
dan | 0:7dec7e9ac085 | 8 | wait(0.2); |
dan | 0:7dec7e9ac085 | 9 | myled = 0; |
stevep | 4:81cea7a352b0 | 10 | wait(0.2); |
stevep | 4:81cea7a352b0 | 11 | } |
dan | 0:7dec7e9ac085 | 12 | } |