Is there anybody that has been able to figure out a way to measure the RPM without using an interrupt function?
anybody has any experience with to achieve measurement of RPM (or Speed, Revolutions... etc) WITHOUT using an interrupt function
My problem is that I have multiple codes in one Arduino, and using an Interrupt function to get the RPM every time a magnet passes by would greatly disrupt my other functions.
The method is the following:you set the counter of the atmega chip to count every pulse.when the counter is full, it will raise a flag.each flag is 256 rotations.take the time between flags to get rpm.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16