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.
Dependencies: mbed Adafruit_GFX
Diff: main.cpp
- Revision:
- 7:296b42f24d44
- Parent:
- 6:23dfd7b0e58c
- Child:
- 8:a071c579f9ea
--- a/main.cpp Mon Dec 13 19:51:37 2021 +0000
+++ b/main.cpp Mon Dec 13 20:03:11 2021 +0000
@@ -64,6 +64,12 @@
//distancia < 5
}
+ if(contador==3){
+ gOled.clearDisplay();
+ gOled.printf("Proceso terminado\n");
+
+ gOled.display();
+ }
}
@@ -114,7 +120,8 @@
//}
contador++;
gOled.clearDisplay();
- gOled.printf("numero %d\n",contador);
+ gOled.printf("Proceso en marcha\n");
+ gOled.printf("Piezas transportadas %d\n",contador);
gOled.display();
gOled.setTextCursor(0,0);
//wait(1.000);
@@ -131,7 +138,7 @@
//pc.printf("Estado cerrada\n");
gOled.printf("Buenos dias\n");
-
+ gOled.display();
while(1) {