This content has been marked as final. Show 1 reply
What you already have got is a good functional description. When you convert that to pseudo-code, yóu are nearly ready:
- Timer is set by user
- once it set then its start timing
- while timing i want to count proximity switch high pulse.
- whenever it goes high then counter should be plus one(+1).
- when time will finish then counter set to zero again.
There is no app-note for your special problem.