22 #if defined(ARDUINO_ARCH_ESP32) 28 #ifdef ARDUINO_ARCH_RP2040 29 #define MAX_SERVO_NUM \ 33 #define MAX_SERVO_NUM 16 36 #define MIN_SERVO_PULSE_WIDTH 500 37 #define ERR_SERVO_ATTACH 255 39 #if defined(ARDUINO_ARCH_ESP32) 65 bool servo_attach(
int pin,
int minPulseWidth,
int maxPulseWidth,
int freq);
66 void servo_detach(
int pin);
67 void servo_write(
int pin,
int value);
Wippersnapper WS
Definition: Wippersnapper.cpp:36
High-level driver for servos for ESP32/ESP32-Sx/ESP32-Cx. This driver implements a subset of the func...
Definition: ws_ledc_servo.h:57
Class that provides storage and functions for the Adafruit IO Wippersnapper interface.
Definition: Wippersnapper.h:283
Interface for WipperSnapper servo control.
Definition: ws_servo.h:61
#define MAX_SERVO_NUM
Maximum number of servo objects.
Definition: ws_servo.h:33
Definition: ws_servo.h:42
ws_ledc_servo * servoObj
Servo object.
Definition: ws_servo.h:43
uint8_t pin
Servo's pin number.
Definition: ws_servo.h:44