Resolved! STM32F4 works properly only when I press the reset button.
As a newbie user, I tried to do basic code in STM32CubeIde which includes only potentiometer and leds. My goal is that when Potentiometre's value rise, different led will light. The code works but when I rise the potentiometre's value the leds don't ...