Viking Skull Lamp  V1.0.1
Loading...
Searching...
No Matches
buzzerControl.cpp File Reference
#include "buzzerControl.hpp"

Go to the source code of this file.

Functions

void buttonClickSound ()
 Generate button click sound. More...
 
void encoderRotateSound ()
 Generate encoder rotate sound. More...
 
void openCloseMelody ()
 Generate open-close melody. More...
 
void clapMelody ()
 Generate clap melody. More...
 
void turnOnMelody ()
 Generate turn on sound. More...
 

Function Documentation

◆ buttonClickSound()

void buttonClickSound ( )

Generate button click sound.

This function generates the button click sound effect on the buzzer.

See also
BUTTON_CLICK_FREQUENCY
BUTTON_CLICK_DURATION

Definition at line 32 of file buzzerControl.cpp.

Here is the caller graph for this function:

◆ clapMelody()

void clapMelody ( )

Generate clap melody.

This function generates the clap melody on the buzzer.

Definition at line 81 of file buzzerControl.cpp.

Here is the caller graph for this function:

◆ encoderRotateSound()

void encoderRotateSound ( )

Generate encoder rotate sound.

This function generates the encoder rotate sound effect on the buzzer.

See also
ENCODER_ROTATE_FREQUENCY
ENCODER_ROTATE_DURATION

Definition at line 44 of file buzzerControl.cpp.

Here is the caller graph for this function:

◆ openCloseMelody()

void openCloseMelody ( )

Generate open-close melody.

This function generates the open-close melody on the buzzer.

Definition at line 56 of file buzzerControl.cpp.

Here is the caller graph for this function:

◆ turnOnMelody()

void turnOnMelody ( )

Generate turn on sound.

This function generates the turn on sound effect on the buzzer.

Note
Originally it was a melody( this is why the name ), but I
ran out of memory, so I had to optimize out things.
See also
TURN_ON_SOUND_FREQUENCY
TURN_ON_SOUND_DURATION

Definition at line 106 of file buzzerControl.cpp.

Here is the caller graph for this function: