ESP32Servo
Functions
ESP32Tone.cpp File Reference
#include "ESP32Tone.h"
Include dependency graph for ESP32Tone.cpp:

Go to the source code of this file.

Functions

void tone (int APin, unsigned int frequency)
 
void tone (int pin, unsigned int frequency, unsigned long duration)
 
void noTone (int pin)
 

Function Documentation

◆ noTone()

void noTone ( int  pin)

Definition at line 29 of file ESP32Tone.cpp.

References ESP32PWM::attached(), ESP32PWM::detachPin(), and pwmFactory().

Referenced by tone().

Here is the call graph for this function:

◆ tone() [1/2]

void tone ( int  APin,
unsigned int  frequency 
)

Definition at line 11 of file ESP32Tone.cpp.

References ESP32PWM::attached(), ESP32PWM::attachPin(), pwmFactory(), and ESP32PWM::writeTone().

Referenced by loop(), and tone().

Here is the call graph for this function:

◆ tone() [2/2]

void tone ( int  pin,
unsigned int  frequency,
unsigned long  duration 
)

Definition at line 23 of file ESP32Tone.cpp.

References noTone(), and tone().

Here is the call graph for this function: