At 12:01 AM 9/30/2000, Christian Dorner wrote: >.... >It seems like the interrupt will be fired correct. I'm really confused about >the fact that the result is sometimes higher and sometimes lower than the >expected result. >When the Port-Change interrupt is the problem than i think the PRM must be >everytime to low. (the interrupt occures to late and the messured time is to >long) If the trigger time is wobbling all over the place and there is no apparent noise, then I would concentrate on the fall/risetime of the signal. Is it clean and fast? If not change to the schmitt trigger input on the PIC, or add a schmitt trigger gate. I would expect this is necessary, as a minimum, to condition the signal. Just my 2 cents CND, Heinz > >Thanks for your idea. > >Christian Dorner >aka Doc, ... > >-- >http://www.piclist.com hint: PICList Posts must start with ONE topic: >"[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's -- http://www.piclist.com hint: PICList Posts must start with ONE topic: "[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's