Author |
Message |
Topic: PIC16F877A and a 4X4 Keypad |
Legatus
Replies: 9
Views: 10798
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2008 3:40 am Subject: PIC16F877A and a 4X4 Keypad |
I make a function to read a keypad 4x4 myself, all keys are connected to PORTC you can connect at any PORT with 8 pins
How would I know which keypad pin is connected to which port pin?
Thanks.
... |
Topic: PIC16F877A and a 4X4 Keypad |
Legatus
Replies: 9
Views: 10798
|
Forum: General CCS C Discussion Posted: Thu Oct 23, 2008 8:02 pm Subject: PIC16F877A and a 4X4 Keypad |
if(x > 16 && y == 1){
x=0;
y=2;
}else if(x>16 && y==2)
{
printf(lcd_putc,"\f");
x=0;y=1;
}
x++;
lcd_gotoxy(x,y);
printf(lcd_putc,"%c",key);
del ... |
Topic: PIC16F877A and a 4X4 Keypad |
Legatus
Replies: 9
Views: 10798
|
Forum: General CCS C Discussion Posted: Thu Oct 23, 2008 7:59 pm Subject: PIC16F877A and a 4X4 Keypad |
Use the forum's search page:
http://www.ccsinfo.com/forum/search.php
Search for:
4x4 keypad
You will find posts like this:
http://www.ccsinfo.com/forum/viewtopic.php?t=32297
Sorry, I should'v ... |
Topic: PIC16F877A and a 4X4 Keypad |
Legatus
Replies: 9
Views: 10798
|
Forum: General CCS C Discussion Posted: Thu Oct 23, 2008 4:24 am Subject: PIC16F877A and a 4X4 Keypad |
A relatively simple question for you guys.
How can I integrate a 4x4 keypad with a pic16f877a microcontroller using ccs?
|
|