|
|
@ -123,7 +123,7 @@ public:
|
|
|
|
int read(); // returns current pulse width as an angle between 0 and 180 degrees
|
|
|
|
int read(); // returns current pulse width as an angle between 0 and 180 degrees
|
|
|
|
int readMicroseconds(); // returns current pulse width in microseconds for this servo (was read_us() in first release)
|
|
|
|
int readMicroseconds(); // returns current pulse width in microseconds for this servo (was read_us() in first release)
|
|
|
|
bool attached(); // return true if this servo is attached, otherwise false
|
|
|
|
bool attached(); // return true if this servo is attached, otherwise false
|
|
|
|
#if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
|
|
|
|
#if defined (ENABLE_AUTO_BED_COMPENSATION) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
|
|
|
|
int pin; // store the hardware pin of the servo
|
|
|
|
int pin; // store the hardware pin of the servo
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|