piclist 2001\01\01\122034a >
Thread: Picky I/O
face BY : Roman Black email (remove spam text)

David VanHorn wrote:
> >
> >I always do tristating like this:
> >
> >clrf PORTB
> >movlw b'00100011'
> >(comment the bits here)
> >movwf TRISB
> This is VERY bad.
> That would make it impossible to work with any single bit, without
> glitching the entire port. I'm astounded if it's really true that you MUST
> glitch the port.

Actually I've never needed to change a pin from input
to output on the fly. I try and avoid that in my hardware
designs. I do drive some unusual loads from the PIC pins
so I get sensitive re pin states. I know a lot of guys
here do it so it is probably ok. I'll just shut up now.

http://www.piclist.com hint: To leave the PICList

<3A50BBFE.126F@ezy.net.au> 7bit

See also: www.piclist.com/techref/microchip/ios.htm?key=i%2Fo
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Picky I/O

month overview.

new search...