LCD Connection
Fork of PID_encoder by
Diff: main.cpp
- Revision:
- 2:81e45f6f6410
- Parent:
- 1:954623d16310
diff -r 954623d16310 -r 81e45f6f6410 main.cpp --- a/main.cpp Thu Sep 29 16:48:52 2016 +0000 +++ b/main.cpp Fri Sep 30 17:07:06 2016 +0000 @@ -2,11 +2,12 @@ #include "TextLCD.h"// nos permite usar el lcd en nuestro comando -TextLCD lcd(PTE0, PTE1, PTE2, PTE3, PTE4, PTE5, TextLCD::LCD16x2B); // rs, e, d4-d7 Teclado +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("Lopez GAY\n"); + lcd.printf("Ya no dio\n"); + lcd.setMode(TextLCD::DispOn); //DispOff, DispOn }