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 LiquidCrystal_I2C_for_KL25Z
Diff: main.cpp
- Revision:
- 1:f9d42dc8c470
- Parent:
- 0:ab1f47ee482e
- Child:
- 2:a98b2701814e
--- a/main.cpp Mon Apr 25 18:27:42 2022 +0000
+++ b/main.cpp Tue Apr 26 04:38:36 2022 +0000
@@ -25,7 +25,7 @@
// Inicia la LCD
lcd.begin();
- lcd.print("Esperando datos...");
+ lcd.print("Esperando ...");
pc.printf("\nIngresa 3 numeros decimales de la forma <X.X> SIN PRESIONAR ENTER\r\n");
for (i = 0; i < 3; i++) // Obtencion de datos desde terminal
@@ -38,7 +38,8 @@
pc.printf(" %s", datos[i]);
}
lcd.clear();
- lcd.print("Datos obtenidos:");
+ lcd.print("Datos obtenidos: ");
+ lcd.setCursor(3, 1);
lcd.print(datos[0]);
lcd.print(datos[1]);
lcd.print(datos[2]);