CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Keypad Driver

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ahmed



Joined: 07 Mar 2006
Posts: 19

View user's profile Send private message

Keypad Driver
PostPosted: Sun Mar 12, 2006 4:24 pm     Reply with quote

I'm trying to use 4x3 matrix keypad with PIC16f877. the pins were connected to different ports which made me unable to use CCS KBD driver.

Do anybody knows modified driver?

Thanks for your Cooperation.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Mar 12, 2006 4:31 pm     Reply with quote

Post the list of connections between the keypad and the PIC.
Ahmed



Joined: 07 Mar 2006
Posts: 19

View user's profile Send private message

Connections
PostPosted: Sun Mar 12, 2006 4:42 pm     Reply with quote

PCM programmer wrote:
Post the list of connections between the keypad and the PIC.


Connections is as follow:

X3 ------ PIN A5
X2 ------ PIN E0
X1 ------ PIN E1
Y4 ------ PIN E2
Y3 ------ PIN C0
Y2 ------ PIN C1
Y1 ------ PIN C2

Four pull up resistors were connected to the (Y4 - Y1).
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Mar 12, 2006 10:21 pm     Reply with quote

I don't have a flexible driver for the keypad. I could do one, but I'm
very busy at work for the next few days.
Ahmed



Joined: 07 Mar 2006
Posts: 19

View user's profile Send private message

PostPosted: Mon Mar 13, 2006 3:54 pm     Reply with quote

PCM programmer wrote:
I don't have a flexible driver for the keypad. I could do one, but I'm
very busy at work for the next few days.


Thanks alot PCM, i modified it and put it on the library for anybody may need it in the future.

http://www.ccsinfo.com/forum/viewtopic.php?t=26333
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group