Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RoboticsBrno/ServoESP32
/ functions
Functions
16 in github.com/RoboticsBrno/ServoESP32
⨍
Functions
16
◇
Types & classes
2
↓ 2 callers
Method
attached
* @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
Method
ServoTemplate
* @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
Method
attach
* @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
Method
attachedPin
* @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
Method
detach
* @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
Method
mapTemplate
src/Servo.h:255
Method
read
* 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
Method
readMicroseconds
* Get the current pulse width, in microseconds. This will * lie within the range specified at attach() time. * * @see ServoTemplate::a
src/Servo.h:220
Method
write
* @brief Set the servomotor target angle. * * @param angle Target angle, in degrees or radians. If the target * angle is
src/Servo.h:182
Method
writeMicroseconds
* @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