Hi all...
I have 2 square waves that are out of phase by 90 degrees. I want to be able to tell when the first wave shifts from "leading" to "lagging". The second wave will do the opposite. I'm trying to do this in software. I have some ideas on how to do it with interrupts but I'd like to explore other possibilities. So, if someone can suggest where to dig out info on the subject. It would be great. BTW the frequency of the waves varies between 0 and about 1000Hz.
Thanks in advance