Can anyone please give me code to detect speed and display on LCD using I2C interface? Answered
I have a speed sensor which gives 8 pulse per revolution of wheel. I want to calculate the speed of the wheel and display it on an LCD using I2C interface. The LCD interface works fine and I can print anything on it. But I do not know the code to calculate the speed and display it on LCD.
Please help me and share with me a code that will calculate the speed based on 8 pulses/rev and display the speed on my LCD.