From 33647fdfae65a1e94229edef4a269672eb167f48 Mon Sep 17 00:00:00 2001 From: liubiren Date: Mon, 24 Nov 2025 18:35:30 +0800 Subject: [PATCH] 251124 --- RP2350ZERO/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RP2350ZERO/utils.py b/RP2350ZERO/utils.py index 9dd4ba3..dc61c82 100644 --- a/RP2350ZERO/utils.py +++ b/RP2350ZERO/utils.py @@ -213,7 +213,7 @@ class Servo: self.pwm = PWM(Pin(pin, Pin.OUT)) # 设置频率 self.pwm.freq(frequency) - self.pwm.duty_ns(0) # 关闭输出 + self.pwm.duty_ns(0) # 关闭PWM信号输出 except Exception as exception: raise RuntimeError(f"初始化PWM发生异常,{str(exception)}") from exception