----- Original Message ----- From: "Bob Barr" To: Sent: Wednesday, March 06, 2002 2:42 AM Subject: Re: [PIC]: 16F877 PORTE Strange behaviour > I'd suggest doing your bsf/bcf operations on a 'shadow' register > rather than on the port directly. You then write the shadow register's > contents to the port. >...... This is the solution! It solved the problem at once! Thanks everyone for the quick response. Haris -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body