The biggest thing I got from that discussion is, don't use the rest of port B for anything else. If you only use IOC for port B you'll be OK. If you try to read or write port B otherwise, you'll have to know more about the issues. Barry At 07:14 PM 4/10/02 +0200, you wrote: >Hello all, > > >I know this issue has passed the revue a dozen times already, however, I >can't find any usefull things from the archives. > >I have two motion sensors which put out two PWM signals each. I want to >measure the length of those four PWM signals (this is the action >anglular data of the sensors). Now, with the PIC16F874 I use, I have two >options: use a capture register or use interrupt on change. Problem with >the capture is, I only have two. From the IOC ports RB7:RB4, there are >four. However, I remember a lot of words of caution when using the IOC >feature. If I have those four digital input signals only on those ports, >can I use this safely? And what were the all-too-familiar problems with >Interrupt on Change again? > > >Best Regards, > >Claudio > >-- >http://www.piclist.com#nomail Going offline? Don't AutoReply us! >email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body