ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
BuzzerDevice Class Reference

#include <buzzer.h>

Public Member Functions

 BuzzerDevice ()
 
 ~BuzzerDevice ()
 
void playsound (int frequency, int duration)
 
bool started ()
 
bool begin ()
 
void end ()
 
void handle ()
 
tone_datagetNextTone ()
 
bool isPlaying ()
 
void waitWhilePlaying ()
 
void beep (int count=1, int delay=0, int frequency=BEEP_FREQUENCY)
 

Detailed Description

Definition at line 31 of file buzzer.h.

Constructor & Destructor Documentation

◆ BuzzerDevice()

BuzzerDevice::BuzzerDevice ( )

◆ ~BuzzerDevice()

BuzzerDevice::~BuzzerDevice ( )

Member Function Documentation

◆ beep()

void BuzzerDevice::beep ( int  count = 1,
int  delay = 0,
int  frequency = BEEP_FREQUENCY 
)

◆ begin()

bool BuzzerDevice::begin ( )
Here is the caller graph for this function:

◆ end()

void BuzzerDevice::end ( )
Here is the caller graph for this function:

◆ getNextTone()

tone_data* BuzzerDevice::getNextTone ( )

◆ handle()

void BuzzerDevice::handle ( )
Here is the caller graph for this function:

◆ isPlaying()

bool BuzzerDevice::isPlaying ( )

◆ playsound()

void BuzzerDevice::playsound ( int  frequency,
int  duration 
)

◆ started()

bool BuzzerDevice::started ( )
inline

Definition at line 37 of file buzzer.h.

Here is the caller graph for this function:

◆ waitWhilePlaying()

void BuzzerDevice::waitWhilePlaying ( )

The documentation for this class was generated from the following file: