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

Need 2X2 keypad driver

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



Joined: 14 Oct 2006
Posts: 27
Location: islamabad,pakistan

View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger

how i can use for 2x2 keypad
PostPosted: Fri Nov 22, 2013 11:00 am     Reply with quote

how i can use for 2X2 keypad

UP_Key
Dwn_Key
Entr_key
CNCL_Key

regard
temtronic



Joined: 01 Jul 2010
Posts: 9225
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Nov 22, 2013 4:50 pm     Reply with quote

Simply modify the kpd.c example that CCS supplies in the examples folder.
It's very well documented, easy to reduce into a 2by2 kpd.

It might be easier for you to just have 4 switches attached to PortB high nibble,use an ISR,decode which switch was pressed(code for that is in the CCS Help files).

Without knowing which PIC we probably can't help further.

hth
jay
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Nov 22, 2013 5:13 pm     Reply with quote

Post a link to the webpage for your keypad.
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