Have you covered the window ? Pailoor Don Campbell wrote: > Hi. > > I'm running a PIC16C71 (EPROM Version) with a 20MHz crystal to decode > the output from 4 Ir Remote Demodulators. The output of the Ir sensors > is normally high. Each sensor is tied to a pin in the RB[7..4] range, > and I'm using the portb interupt on change > to time the bits coming from the sensors. Sometimes (that's the really > irritating part) the input to the PIC drops low for up to 400us, and > this interferes with proper data decoding. I'm fairly certain that the > problem isn't with the sensors themselves, > because without the pic being powered (removed from the board), the > outputs behave normally. The code isn't actually being reset (I have an > output flag to check for this), and the pins are set up as inputs. > The PICS are, shall we say, not brand new. Is this a likely culprit? > > Any advice/help that anyone may have on this is greatly appreciated. > > Thanks, > Don Campbell > dcampb@po-box.mcgill.ca -- Website : http://www.chiptechnologies.com Website : http://business.vsnl.com/chiptech Content-Type: text/x-vcard; charset=us-ascii; name="chiptech.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ravi Pailoor Content-Disposition: attachment; filename="chiptech.vcf" Attachment converted: wonderland:chiptech.vcf (TEXT/CSOm) (0000E087)