新增了电机相关功能函数 修改旋钮的接口

This commit is contained in:
bmy
2023-12-15 21:42:43 +08:00
parent ece70343e5
commit b908ae8593
6 changed files with 54 additions and 11 deletions

11
app/by_fan_control.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef _BY_FAN_CONTROL_H_
#define _BY_FAN_CONTROL_H_
#include "stdio.h"
#include "ch32v30x.h"
extern void by_pwm_init(void);
extern void by_pwm_update_duty(uint32_t update_pwm_duty);
extern void by_pwm_power_duty(uint32_t power_pwm_duty_l, uint32_t power_pwm_duty_r);
#endif