Function tap::buzzer::playNote

Function Documentation

void tap::buzzer::playNote(gpio::Pwm *pwmController, uint32_t frequency)

Plays the buzzer at the given frequency.

Parameters:
  • pwmController[in] The PWM object that has access to the buzzer.

  • frequency[in] The PWM freqneucy that corresponds to a pitch.