Is it possible to use the function inside the HAL_LED.c to achieve the PWM lighting effect?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Is it possible to use the function inside the HAL_LED.c to achieve the PWM lighting effect?
Hello Ryan,
Actually, you would want to use the Buzzer.c which uses PWM for frequency modulation. You can vary the duty cycle in that routine. I believe the Hal_LED uses on/off control.
There is also a PWM example in the swrc257 file. http://www.ti.com/lit/sw/swrc257/swrc257.zip.
Thanks,