Hi everyone,i am trying to make PWM from internal clock. i use TIM4 with out put is pin PD12.i just put the code bellow in INT VOID(MAIN)HAL_TIM_PWM_Start(&htim4, TIM_CHANNEL_1);But it doesn't work. Can someone help me explain?
Hi everyone, I have problem when i try to change GPIO inform then i push "generate code". But it replace my old code.can you let me know how to only update inform for code not replace old code?thanks you and sory about my poor english!
Thanks you for reply,i initialize the pin already. i was follow on youtube how to make pwm. and did base on that. but not effecthttps://www.youtube.com/watch?v=vDvbO_BAYvc&t=176si don't know what happen!
Thanks for your reply,in file IOD i set Project Manager > Code Generator --> Keep User Code ... already.but old my code is not exist.for example put 2 code lines as below: while (1) { /* USER CODE END WHILE */HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_1...