Ricardo Gutierrez / Mbed 2 deprecated PROYECTOLCD-Microprocesadores

Dependencies:   TSI TextLCD mbed

Files at this revision

API Documentation at this revision

Comitter:
riich
Date:
Tue Jun 04 14:07:47 2013 +0000
Commit message:
LCD 16x2 (funcion lcd.locate)

Changed in this revision

TSI.lib Show annotated file Show diff for this revision Revisions of this file
TextLCD.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 0148da93b4d4 TSI.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TSI.lib	Tue Jun 04 14:07:47 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/emilmont/code/TSI/#507b1f67804b
diff -r 000000000000 -r 0148da93b4d4 TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Tue Jun 04 14:07:47 2013 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r 0148da93b4d4 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Jun 04 14:07:47 2013 +0000
@@ -0,0 +1,46 @@
+//Ricardo Gutierrez Rodriguez
+//Profesor: Antulio
+//Microprosesadores
+
+//Este programa prueba los siguientes comandos LCD para la 
+//tarjeta freedom KL25Z, que tiene la funcion de centrar
+//por medio de columna renglon, los caracteres cambian 
+// a un cierto tiempo esa es otra funcion que se impleo.
+ 
+#include "mbed.h"
+#include "TextLCD.h"      //libreria para escritura en ldc 16x2
+#include "TSISensor.h"   //libreria sensor touch
+ 
+TextLCD lcd(PTE29, PTE30, PTE20, PTE21, PTE22, PTE23); // rs, e, d4-d7
+ 
+int main() {
+    while(true) // Condicion del Programa
+    {
+    
+    lcd.locate(3,0); // Indica una posicion en especifico (Columna, Renglon)
+    lcd.printf("Bienvenido a\n"); //Imprime el Texto en LCD
+    wait(1.0);  // Tiempo de espera del texto (segundo, minuto)
+    lcd.cls(); // Borra el texto anterior
+    lcd.locate(3,0); // Indica una posicion en especifico (Columna, Renglon)
+    lcd.printf("Profesor: \n");
+    wait(1.0); // Tiempo de espera del texto (segundo, minuto)
+    lcd.locate(1,1);// Indica una posicion en especifico (Columna, Renglon)
+    lcd.printf("Antulio Morgado\n");
+    wait(1.0); // Tiempo de espera del texto (segundo, minuto)
+    lcd.cls(); // Indica una posicion en especifico (Columna, Renglon)
+    lcd.printf("Materia: Micro\n");
+    wait(1.0);// Tiempo de espera del texto (segundo, minuto)
+    lcd.cls(); // Borra el texto anterior
+    lcd.printf("Proyecto: LCD\n");
+    wait(1.0); // Tiempo de espera del texto (segundo, minuto)
+    lcd.cls(); // Borra el texto anterior
+    lcd.printf("Grupo: 6CM8\n");
+    wait(1.0); // Tiempo de espera del texto (segundo, minuto) 
+    lcd.cls();// Borra el texto anterior
+    lcd.printf("Gracias\n");
+    wait(1.0); // Tiempo de espera del texto (segundo, minuto)
+    lcd.cls(); // Borra el texto anterior
+     }
+ 
+}
+ 
\ No newline at end of file
diff -r 000000000000 -r 0148da93b4d4 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Jun 04 14:07:47 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17
\ No newline at end of file