demo9s12xdt512 - output on GPIO

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

demo9s12xdt512 - output on GPIO

1,191 Views
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

Labels (1)
0 Kudos
1 Reply

289 Views
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 Kudos