reply:
- read the HIGH signal
But ignore the LOW?
- yes, calculate the signal (RPM=(signal during 1 second) * 60
The signal is either HIGH or LOW. There is nothing to calculate. You want COUNT the number of times that the signal has BECOME HIGH in some period of time. The state change detection example might be useful.
- can you help me?
I'm trying. But, this implies that you are willing to do some work. I haven't seen any evidence of that, yet.
- yes, because my friend just suggest not help me anymore
I wonder why.
- maybe free ? please
Clues are free. Help fixing your code is free. Writing code for you is not.