demo9s12xdt512 - output on GPIO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

demo9s12xdt512 - output on GPIO

1,685 次查看
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 回复

783 次查看
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 项奖励
回复