piclist 2010\07\09\021813a >
Thread: Strange behavior of PICmicro I/O pin
www.piclist.com/techref/microchip/ios.htm?key=i%2Fo
face
flavicon
face BY : Bob Blick email (remove spam text)



Hi Ravi,

Try putting nops in like this:

   bsf portc,scl
   nop
   bsf portc,sda
   goto $+1
   bcf portc,scl
   nop
   bcf portc,sda
   goto $-5

If it works then it is probably a read-write-modify issue, which occurs
when a pin hasn't changed enough before the next bcf or bsf happens.

Cheerful regards,

Bob

--
http://www.fastmail.fm - Access all of your messages and folders
                         wherever you are

<1278656292.19121.1384020735@webmail.messagingengine.com> 7bit

In reply to: <4C369079.5030202@vsnl.com>
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) Strange behavior of PICmicro I/O pin

month overview.

new search...