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 support@ccsinfo.com

4X4 Keypad 4x io

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



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

View user's profile Send private message Send e-mail

4X4 Keypad 4x io
PostPosted: Sun Feb 12, 2006 11:29 pm     Reply with quote

I found this in the tech tip from microchip has any one done any coding for something like this, Tech Tip #12 microchip
2 x analog and 2 x Digital IO = 4 x4 matrix keypad
http://ww1.microchip.com/downloads/en/devicedoc/41261a.pdf

I would like some guidance to this

Andrew
_________________
What has been learnt if you make the same mistake? Wink
MikeValencia



Joined: 04 Aug 2004
Posts: 238
Location: Chicago

View user's profile Send private message Send e-mail Yahoo Messenger

PostPosted: Sun Feb 12, 2006 11:57 pm     Reply with quote

What guidance do you want? The tech tip #12 has nine well-documented step-by-step instructions on how to implement it.
MikeValencia



Joined: 04 Aug 2004
Posts: 238
Location: Chicago

View user's profile Send private message Send e-mail Yahoo Messenger

PostPosted: Mon Feb 13, 2006 12:03 am     Reply with quote

http://ww1.microchip.com/downloads/en/appnotes/00529e.pdf

The above document explains 4x4 keypad multiplexing very thoroughly. You can also read the well-commented assembly language program that goes with it.

I'm sure you can use the app note and the tech tip documents to write C code for it.
Storic



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

View user's profile Send private message Send e-mail

PostPosted: Mon Feb 13, 2006 12:06 am     Reply with quote

After some consideration. I was tring to code it simular to the KBD.C driver. It is a different animal and need to be coded differently. I will research more.

Andrew
_________________
What has been learnt if you make the same mistake? Wink
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