prueba teclado matricial 4x3

Dependencies:   TextLCD mbed

Fork of LCD_test_teclado by proyectotecnicas

Files at this revision

API Documentation at this revision

Comitter:
josedaparte
Date:
Tue Dec 01 15:55:52 2015 +0000
Parent:
1:85232e54cfcf
Commit message:
con los pines como el programa principal;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 85232e54cfcf -r 667119ffc7cc main.cpp
--- a/main.cpp	Mon Nov 30 03:49:51 2015 +0000
+++ b/main.cpp	Tue Dec 01 15:55:52 2015 +0000
@@ -4,11 +4,11 @@
 
 TextLCD lcd(PTD3, PTA12, PTA4, PTA5, PTC8, PTC9, TextLCD::LCD16x2);
 
-DigitalIn key1(PTC1);
-DigitalIn key2(PTC2);
-DigitalIn key3(PTB3);
-DigitalIn key4(PTB2);
-InterruptIn Enable(PTA2);
+DigitalIn key1(PTE31);
+DigitalIn key2(PTE19);
+DigitalIn key3(PTE18);
+DigitalIn key4(PTE17);
+InterruptIn Enable(PTA13);
 
 int num, B1,B2,B3,B4;