ESP32Servo
Data Structures | Macros
ESP32Servo.h File Reference
#include "analogWrite.h"
#include "ESP32PWM.h"
#include "ESP32Tone.h"
Include dependency graph for ESP32Servo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Servo
 

Macros

#define ENFORCE_PINS
 
#define DEFAULT_uS_LOW   544
 
#define DEFAULT_uS_HIGH   2400
 
#define DEFAULT_TIMER_WIDTH   16
 
#define DEFAULT_TIMER_WIDTH_TICKS   65536
 
#define ESP32_Servo_VERSION   1
 
#define MIN_PULSE_WIDTH   500
 
#define MAX_PULSE_WIDTH   2500
 
#define DEFAULT_PULSE_WIDTH   1500
 
#define DEFAULT_PULSE_WIDTH_TICKS   4825
 
#define REFRESH_USEC   20000
 
#define MAX_SERVOS   16
 

Macro Definition Documentation

◆ DEFAULT_PULSE_WIDTH

#define DEFAULT_PULSE_WIDTH   1500

Definition at line 91 of file ESP32Servo.h.

◆ DEFAULT_PULSE_WIDTH_TICKS

#define DEFAULT_PULSE_WIDTH_TICKS   4825

Definition at line 92 of file ESP32Servo.h.

Referenced by Servo::attach(), and Servo::Servo().

◆ DEFAULT_TIMER_WIDTH

#define DEFAULT_TIMER_WIDTH   16

Definition at line 84 of file ESP32Servo.h.

Referenced by Servo::attach(), and Servo::Servo().

◆ DEFAULT_TIMER_WIDTH_TICKS

#define DEFAULT_TIMER_WIDTH_TICKS   65536

Definition at line 85 of file ESP32Servo.h.

◆ DEFAULT_uS_HIGH

#define DEFAULT_uS_HIGH   2400

Definition at line 74 of file ESP32Servo.h.

Referenced by Servo::attach(), and Servo::Servo().

◆ DEFAULT_uS_LOW

#define DEFAULT_uS_LOW   544

Definition at line 73 of file ESP32Servo.h.

Referenced by Servo::attach(), and Servo::Servo().

◆ ENFORCE_PINS

#define ENFORCE_PINS

Definition at line 71 of file ESP32Servo.h.

◆ ESP32_Servo_VERSION

#define ESP32_Servo_VERSION   1

Definition at line 87 of file ESP32Servo.h.

◆ MAX_PULSE_WIDTH

#define MAX_PULSE_WIDTH   2500

Definition at line 90 of file ESP32Servo.h.

Referenced by Servo::attach().

◆ MAX_SERVOS

#define MAX_SERVOS   16

Definition at line 96 of file ESP32Servo.h.

◆ MIN_PULSE_WIDTH

#define MIN_PULSE_WIDTH   500

Definition at line 89 of file ESP32Servo.h.

Referenced by Servo::attach(), and Servo::write().

◆ REFRESH_USEC

#define REFRESH_USEC   20000

Definition at line 94 of file ESP32Servo.h.

Referenced by Servo::ticksToUs(), and Servo::usToTicks().