Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PID_encoder by
Revision 2:81e45f6f6410, committed 2016-09-30
- Comitter:
- squinteroz
- Date:
- Fri Sep 30 17:07:06 2016 +0000
- Parent:
- 1:954623d16310
- Commit message:
- h
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 }