Lab Summary - Pennsylvania State University

You will sample the ADC exactly every 0.025 sec and calculate distance using decimal fixed-point with of 0.001 cm. This means if the distance is 1.234 cm, we will store the integer 1234 in the computer. Conversely, if the integer in the computer is 567, it will mean the distance is 0.567 cm. ................
................