how to make output port "1" when using AC input

32 Views Asked by At

I am using an AC input in my project. My input signals period which comes to port of PIC pin is 20ms.Its almost square waveform. I want to check this signal in 30ms time-interval continuously and make the output port "1". Because of using ac input,i cannot make the output port "1". I can not go out of DC 1-0 logic. This confuses me :S.

0

There are 0 best solutions below