Update servo pause function in PwmPin.h

This commit is contained in:
Yitao Jiang 2024-06-29 12:32:49 -04:00 committed by GitHub
parent 8c67b28f6d
commit 197b5d0db9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -118,4 +118,5 @@ class ServoPin : public LedC {
ServoPin(uint8_t pin, double initDegrees=0) : ServoPin(pin,initDegrees,1000,2000,-90,90) {}; 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 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
}; };