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

internal interrupt and back key

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



Joined: 25 May 2007
Posts: 16

View user's profile Send private message

internal interrupt and back key
PostPosted: Fri Jun 08, 2007 1:35 am     Reply with quote

hello
how can i write an internal interrupt code which do subrotine when the key of the key pad is pressed , like reset key ;
and how can i make a back key in the keypad ,
thank you
_________________
A.T.N
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jun 08, 2007 12:33 pm     Reply with quote

Quote:

How can I write an internal interrupt code which do subroutine
when the key of the key pad is pressed ?

You can use the #INT_RB interrupts, on pins B4 to B7. Here's one
example:
http://www.ccsinfo.com/forum/viewtopic.php?t=19726

Quote:
Hw can Imake a back key in the keypad

You can use the '*' key as the backspace key. When that key is
pressed, send a backspace command to your display routine.
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