ESP32Servo
Functions | Variables
Sweep.ino File Reference
#include <ESP32Servo.h>
Include dependency graph for Sweep.ino:

Go to the source code of this file.

Functions

void setup ()
 
void loop ()
 

Variables

Servo myservo
 
int pos = 0
 
int servoPin = 18
 

Function Documentation

◆ loop()

void loop ( )

Definition at line 61 of file Sweep.ino.

References pos, and Servo::write().

Here is the call graph for this function:

◆ setup()

void setup ( )

Definition at line 48 of file Sweep.ino.

References ESP32PWM::allocateTimer(), Servo::attach(), servoPin, and Servo::setPeriodHertz().

Here is the call graph for this function:

Variable Documentation

◆ myservo

Servo myservo

Definition at line 41 of file Sweep.ino.

◆ pos

int pos = 0

Definition at line 44 of file Sweep.ino.

Referenced by loop().

◆ servoPin

int servoPin = 18

Definition at line 46 of file Sweep.ino.

Referenced by setup().