I am a Noob but I am trying to learn from the datasheet and strugling.
I want to read in 5 pulses and then output one pulse for 1.5 seconds.
I can do both myself but I can not do them simultaneous. My program is a right mess now so I am going to start again. I have not used tmr0 yet but I am wondering if that is how I do it.
Currently I have F84 and F628 to choose from.
1....Count in five pulses
2....Now output a 1.5 sec high
3....Go back and read in five pulses but carry on output until 1.5 secs ends.
4....If five pulses are in before 1.5secs are over then refresh output back to 1.5secs and start output again.
My main problem is that I do not know how to carry on running my program whilst outputting and checking output to see if the 1.5secs are over.
Thank you