MC9S08RG60 Timed Keyboard Input

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC9S08RG60 Timed Keyboard Input

Jump to solution
1,269 Views
Vickyg
Contributor II
Well I'm back. 
 
I can't seem to get my keyboard interupt.
 
I'm trying to set a timer and tell if a certain key is pushed a second time.
 
Can someone show me some code of a simple timed keyboard interupt timer sequence with comments.  
 
 
TIA
Labels (1)
Tags (1)
0 Kudos
1 Solution
540 Views
peg
Senior Contributor IV
Hi Vicky,
 
PTCD would normally be the data register for Port C. The place where you write to or read from to get/set port c's i/o.
 

View solution in original post

0 Kudos
2 Replies
540 Views
Vickyg
Contributor II
Posting here, seems to be magic.  As soon as I posted, I found what's prohibiting the keyboard interrupt.
 
Can anybody give me an idea of what PTCD does?  This setting was different and changing it enabled keyboard input, but I really can't find help on what this is, or what it does.
541 Views
peg
Senior Contributor IV
Hi Vicky,
 
PTCD would normally be the data register for Port C. The place where you write to or read from to get/set port c's i/o.
 
0 Kudos