/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
****************************************************************...
i made a code about controlling dc motor with temperature sensor but something is clearly wronghere is the code in question/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file ...
first i don't know howsecond, when i start simulating, the motor rotate for 1 second and it stopped also when i tried to fix the code, the fan didn't work when i exceeded 30 degree, i don't know how and what cause?i use stm32f401re