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.
Diff: main.cpp
- Revision:
- 27:e91dc3779b64
- Parent:
- 26:b2dd84140b62
- Child:
- 28:e030c48c7cfd
--- a/main.cpp Sun Apr 12 00:17:01 2020 +0000
+++ b/main.cpp Sun Apr 12 01:17:51 2020 +0000
@@ -1,8 +1,8 @@
#include "mbed.h"
-DigitalOut Verde(LED1);
-DigitalOut Amarillo(LED2);
-DigitalOut Rojo(LED3);
+DigitalOut Verde(LED2);
+DigitalOut Azul(LED3);
+DigitalOut Rojo(LED1);
int main() {
while(1) {
@@ -20,9 +20,9 @@
Verde = 0;
wait(0.2);
- Amarillo = 1;
+ Azul = 1;
wait(5.0);
- Amarillo = 0;
+ Azul = 0;
wait(0.2);
Rojo = 1;