We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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