this program deploy wathever message in a screen LCD 16x2 controlling it luminosity through sensor touch.

Dependencies:   TSI TextLCD mbed

Files at this revision

API Documentation at this revision

Comitter:
corban
Date:
Wed May 29 17:42:39 2013 +0000
Commit message:
Programa para desplegar un mensaje sobre pantalla lcd 16x2
; Freedom

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 db745a0e50ab TSI.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TSI.lib	Wed May 29 17:42:39 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/emilmont/code/TSI/#507b1f67804b
diff -r 000000000000 -r db745a0e50ab TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Wed May 29 17:42:39 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/sbts/code/TextLCD/#122fc41ed965
diff -r 000000000000 -r db745a0e50ab main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed May 29 17:42:39 2013 +0000
@@ -0,0 +1,31 @@
+/*Instituto Politecnico Nacional
+  6° Sem
+  Microprocesadores
+  Prof Antulio Morgado 
+  
+  Omar Serrano Herrera
+  Alejandro Valentin Vanegas
+  Monserrat Luna Rodriguez
+*/
+
+#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() {
+    lcd.printf("Welcome to the  ");//mensaje a desplegar
+    lcd.printf("FREEDOM WORLD!!");
+
+    PwmOut led(PTD4);             //activacion backlight
+    TSISensor tsi;
+    
+    while(true)
+    {
+     led = tsi.readPercentage();
+     wait(0.1);
+     }
+
+}
+
diff -r 000000000000 -r db745a0e50ab mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed May 29 17:42:39 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/b3110cd2dd17
\ No newline at end of file