
se agregó un led y se cambio el tiempo a 0.5
Diff: main.cpp
- Revision:
- 1:a5b91628cfc6
- Parent:
- 0:8663eadc1caf
- Child:
- 2:adcd761ae807
--- a/main.cpp Sat Dec 15 17:41:36 2018 +0000 +++ b/main.cpp Sat Dec 15 17:43:41 2018 +0000 @@ -2,12 +2,14 @@ DigitalOut gpo(D0); DigitalOut led(LED_RED); +DigitalOut led2(LED_GREEN); int main() { while (true) { gpo = !gpo; // toggle pin led = !led; // toggle led + led2 = !led2; wait(0.2f); } } \ No newline at end of file