PortB question

Sylvain Bissonnette <bibi-tlkWMpG4QxlWk0Htik3J/[email protected]>
Newsgroups gmane.comp.hardware.rabbit-semiconductor
Message-ID <CAMS3D4mMD-y1xb5DM4sPPBxRzGhfP2t45NAHDmjfLh=hOp3a2w@mail.gmail.com>
Hi,  I have a problem with the PORTB bit 0  I set this bit in output and I
write values but without success I don't get anything from the I/O.

for (i=0;i<8;i++) BitWrPortI(PBDDR,&PBDDRShadow,1,i);

while(1)  WrPortI(PBDR,    &PBDRShadow,i++);

Thanks for your time
Sylvain Bissonnette
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.