Hall Effect Speed and Distance Sensor Code

That line should have been copied as follows

OCR1A = 1999;// = (1/1000) / ((1/(1610^6)) 8 ) - 1