demo9s12xdt512 - output on GPIO

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

demo9s12xdt512 - output on GPIO

1,637件の閲覧回数
candriver
Contributor I
Hi...
i am using demo9s12xdt512 board with CW4.5.....i want to send 01 to portB or portA.....and want to see this data on digital CRO......how can i see this data on port.....i am unable to glow Led without using switch......
 
 
plss help me....i have put so many que...bt i didn't get any answer......if any body s working on this board plss help me ..
 
i used DDRB_DDRB4=1  bt i didn't get anything.....
Thanks...
 
--
Alban Edit: subject had no meaning

Message Edited by Alban on 2007-03-28 08:42 AM

ラベル(1)
0 件の賞賛
返信
1 返信

735件の閲覧回数
DannyM83
Contributor III

DDRB_DDRB4 = 1 configures PortB4 as an output rather than an input. To select what to drive onto this pin PORTB_PB4 should be used.

 

Alban Edit: meaningful subject

Message Edited by Alban on 2007-03-28 08:43 AM

0 件の賞賛
返信