using cortex-m0 (lpc1224) I am trying to measure the time difference between the rising or the falling edge of two square waves, that i get from the Zero Crossing Detectors.
I am trying to measure phase difference between Current and Voltages of an A.C. Circuit. Getting two inputs from Voltage and Potential transformers.
Someone told me to use CCP to measure the time but that can measure time difference between the events from input on single pin:roll:.
But I have two inputs from C.T. and P.T.
I have to measure the power factor of A.C. Circuit, but not finding a proper way to do that.
please ...any early help will be really significant or the logic in lpc1224 .
regards...
:grin: