update doc

This commit is contained in:
NeoZng
2022-11-13 21:46:52 +08:00
parent c4dfe8e60b
commit 9908dfd015
19 changed files with 117 additions and 18 deletions

View File

@@ -4,6 +4,11 @@
extern TIM_HandleTypeDef htim4;
static uint8_t tmp_warning_level=0;
void buzzer_init()
{
HAL_TIM_PWM_Start(&htim4,TIM_CHANNEL_3);
}
void buzzer_on(uint16_t psc, uint16_t pwm,uint8_t level)
{
if(level>tmp_warning_level)