AnsweredAssumed Answered

Beep Function in STM8S003k3

Question asked by vanchung.cao on Sep 30, 2015
Latest reply on Aug 30, 2017 by Thomas G
Dear All
I have a STM8S Discovery board. I want to config PD4 with Beep function.

/*Initialize PD4 for beep signal */
GPIO_Init(GPIOD, GPIO_PIN_4, GPIO_MODE_OUT_PP_HIGH_FAST);
BEEP_Init(BEEP_FREQUENCY_1KHZ);
BEEP_Cmd(ENABLE);
 
When I check signal of PD4 but don't have output frequency with 1Khz.
Please help me.
Thanks

Outcomes