LCD Connection

Dependencies:   TextLCD mbed

Fork of PID_encoder by Sebastian Quintero Zapata

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "TextLCD.h"// nos permite usar el lcd en nuestro comando 
00003 
00004 
00005 TextLCD lcd(PTA13, PTD5, PTD4, PTA12, PTA4, PTA5, TextLCD::LCD20x4); // rs, e, d4-d7 Teclado
00006 //asignamos el puerto a cada interruptor
00007 
00008 int main() {
00009     lcd.printf("Ya no dio\n");  
00010     lcd.setMode(TextLCD::DispOn); //DispOff, DispOn 
00011     }
00012     
00013     
00014 
00015