I'd like to use a buzzer instead of a LED (I use the same gpio TIM2 for both LED, and buzzer) . I took a look at "td_tools_led.c" and "td_tools_led.h". There is a function named
- Code: Select all
int TD_TOOLS_LED_SetPWM(uint8_t id,uint8_t period, uint8_t value);
Is it the correct function ? If not, which functions of from the SDK can be use to manage the buzzer ?
Thank you,
Dan