hey
i am using 89c51 to measuring velocity. the distance is fix. but i am unable to divide it with time which is varying. plz help me with some example of such division. let my distancce is 15cm and time will not b more than half minute. i am using oscillator of 11.0592MHz.
thanks in advance
120/5 = 24. Easy to insert a decimal point between the 2 and 4 when presenting the result. Scaling the numbers like that is called fixed-point arithmetic and a way to use integers to compute even when inputs or results have decimals.
thanks