MC9S08RG60 Timed Keyboard Input

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MC9S08RG60 Timed Keyboard Input

ソリューションへジャンプ
1,297件の閲覧回数
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
ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
568件の閲覧回数
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 件の賞賛
2 返答(返信)
568件の閲覧回数
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.
569件の閲覧回数
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 件の賞賛