LCD Connection

Dependencies:   TextLCD mbed

Fork of PID_encoder by Sebastian Quintero Zapata

main.cpp

Committer:
squinteroz
Date:
2016-09-30
Revision:
2:81e45f6f6410
Parent:
1:954623d16310

File content as of revision 2:81e45f6f6410:

#include "mbed.h"
#include "TextLCD.h"// nos permite usar el lcd en nuestro comando 


TextLCD lcd(PTA13, PTD5, PTD4, PTA12, PTA4, PTA5, TextLCD::LCD20x4); // rs, e, d4-d7 Teclado
//asignamos el puerto a cada interruptor

int main() {
    lcd.printf("Ya no dio\n");  
    lcd.setMode(TextLCD::DispOn); //DispOff, DispOn 
    }