2023-09-14 10:56 PM - edited 2023-09-14 10:58 PM
Hii, i am using NUCLEO-G474RE board and i want to generate pwm signal in which frequency change frequently .But i dont know why this code is not working.
Solved! Go to Solution.
2023-09-15 01:34 AM
Hello @Harsh_18
First, you need to declare the PWM_start() function before the while(1) (in the main function).
Also, what is the original value of your arr variable.
Best regards.
II
2023-09-15 01:34 AM
Hello @Harsh_18
First, you need to declare the PWM_start() function before the while(1) (in the main function).
Also, what is the original value of your arr variable.
Best regards.
II
2023-09-15 04:54 AM
I have already declare PWM_Start() globally. And the original value of arr is 200 that i mention globally.
2023-09-15 05:04 AM