feat: 完成控制代码编写
This commit is contained in:
@@ -42,7 +42,14 @@ void by_pwm_update_duty(uint32_t update_pwm_duty1, uint32_t update_pwm_duty2)
|
||||
pwm_set_duty(Fan_pwm_up1, update_pwm_duty1);
|
||||
pwm_set_duty(Fan_pwm_up2, update_pwm_duty2);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param power_pwm_duty_l1 左转向风扇
|
||||
* @param power_pwm_duty_r1 右转向风扇
|
||||
* @param power_pwm_duty_l2 左驱动风扇
|
||||
* @param power_pwm_duty_r2 右驱动风扇
|
||||
*/
|
||||
void by_pwm_power_duty(uint32_t power_pwm_duty_l1, uint32_t power_pwm_duty_r1, uint32_t power_pwm_duty_l2, uint32_t power_pwm_duty_r2)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user