Question
Floating point
Posted on June 09, 2014 at 12:53
Hi, I can't stand why my stm32f4 does not do the floating point calculation.
Frequency = (RCC_Clocks.HCLK_Frequency)/2 / (IC2Value * (TIM4->PSC+1));Frequency is a float variable, but when i read it with ''printf'' there's an integer inside.