Code line interpretation HELP

Henry_Best:

smeagol109:
And if possible, can someone show me a way to improve the code in order to switch the display from rpm's to km/h ?

Speed = RPM * wheel circumference or speed = RPM * Pi * wheel diameter. That will give you inches/minute, which can easily be converted into MPH.
Divide by inches in a mile (63360) and multiply by minutes in an hour (60) or just divide by 1056 (60/63360 = 1/1056)

That is, of course, assuming the OP has measured the wheel in inches. If they have the size of the wheel in cm, then the values will be different. Simpler then to convert to km/h as they're the same kind of unit.

RPM * circumference (in cm) = cm/m. Multiply by 60 for cm/h. Divide by 100,000 for km/h. Multiply by 1.609344 to convert km/h into mph.