Need help in programming

Thread Starter

helloho

Joined Mar 10, 2011
6
Hi all,

Basically i will connect a missing pulse detector to a pic16f877a
The output of the Missing pulse detector is a logic signal, it's either high or low. The output will be always in high and will be change to low if the pulse is missing and will change back to high after a period.

I want to write a programming like this:
when the output change to low , LCD will display 1
and add 1 every time the output change to low.

Can somebody tell me how to start and a reference will be good too.

thanks and sorry for the poor language.
 

lightingman

Joined Apr 19, 2007
374
You should be able to do the whole thing with the PIC. Time the pulses on the input pin, and if the pulse is missing, do what you want it to.

Daniel.
 
Top