AnsweredAssumed Answered

Floating point

Question asked by nicotera.andrea on Jun 9, 2014
Latest reply on Jun 10, 2014 by prabhakar.sandesh
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.

Outcomes