From 197b5d0db9ca3d0815c4ae132939f389402aa6a6 Mon Sep 17 00:00:00 2001 From: Yitao Jiang Date: Sat, 29 Jun 2024 12:32:49 -0400 Subject: [PATCH] Update servo pause function in PwmPin.h --- src/src/extras/PwmPin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/src/extras/PwmPin.h b/src/src/extras/PwmPin.h index eedce3a..040042b 100644 --- a/src/src/extras/PwmPin.h +++ b/src/src/extras/PwmPin.h @@ -118,4 +118,5 @@ class ServoPin : public LedC { ServoPin(uint8_t pin, double initDegrees=0) : ServoPin(pin,initDegrees,1000,2000,-90,90) {}; void set(double degrees); // sets the Servo to degrees, where degrees is bounded by [minDegrees,maxDegrees] + void pause(boolean pauseState); // pause the Servo signal, where pauseState is the output state when it is paused, false for Low, true for High };