Re: Re: PortB question
Scott Henion <[email protected]>
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
Which module are you using? On 3/4/2013 9:52 PM, Sylvain Bissonnette wrote: > > > No I check and that's not the problem, the pin is stuck high > > On Mon, Mar 4, 2013 at 12:49 AM, seecwriter <seecwriter-/[email protected] > <mailto:seecwriter-/[email protected]>> wrote: > > > > Does Port B have the option to be open-collector? If so, is that > set correctly? > > --- In [email protected] > <mailto:rabbit-semi%40yahoogroups.com>, Sylvain Bissonnette wrote: > > > > 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 > > > > > > > -- ------------------------------------------ Scott G. Henion, Consultant Web site: http://SHDesigns.org ------------------------------------------