Help with a project

ktnch:
Doing a sketch to show a warning led at around 5mph,

if (kmh > 7) //

Most of us here have heard of kilometres so if you want to work in kmh why mention mph?

IIRC 5mph = 8kmh so that I am a bit confused by the numbers you have chosen.

...R