MCPcopy Create free account

hub / github.com/RoboticsBrno/ServoESP32 / functions

Functions16 in github.com/RoboticsBrno/ServoESP32

↓ 2 callersMethodattached
* @brief Check if this instance is attached to a servo. * @return true if this instance is attached to a servo, false otherwise. * @see Serv
src/Servo.h:233
MethodServoTemplate
* @brief Construct a new ServoTemplate instance. * * The new instance will not be attached to any pin. */
src/Servo.h:81
Method_angleToUs
src/Servo.h:267
Method_resetFields
src/Servo.h:244
Method_ticksToUs
src/Servo.h:265
Method_usToAngle
src/Servo.h:266
Method_usToTicks
src/Servo.h:264
Methodattach
* @brief Associate this instance with a servomotor whose input is * connected to pin. * @param pin Pin connected to the servo pulse w
src/Servo.h:124
MethodattachedPin
* @brief Get the pin this instance is attached to. * @return Pin number if currently attached to a pin, PIN_NOT_ATTACHED * otherwise
src/Servo.h:241
Methoddetach
* @brief Stop driving the servo pulse train. * * If not currently attached to a motor, this function has no effect. * * @return tr
src/Servo.h:160
MethodmapTemplate
src/Servo.h:255
Methodread
* Get the servomotor's target angle, in degrees or radians. This will * lie inside the range specified at attach() time. * * @see Serv
src/Servo.h:212
MethodreadMicroseconds
* Get the current pulse width, in microseconds. This will * lie within the range specified at attach() time. * * @see ServoTemplate::a
src/Servo.h:220
Methodwrite
* @brief Set the servomotor target angle. * * @param angle Target angle, in degrees or radians. If the target * angle is
src/Servo.h:182
MethodwriteMicroseconds
* @brief Set the pulse width, in microseconds. * * @param pulseWidthUs Pulse width to send to the servomotor, in *
src/Servo.h:197
Method~ServoTemplate
* @brief Destruct a ServoTemplate instance. * * Call _() and detach(). */
src/Servo.h:88