|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
Functions | |
| void | playNote (gpio::Pwm *pwmController, uint32_t frequency) |
| void | silenceBuzzer (gpio::Pwm *pwmController) |
| void tap::buzzer::playNote | ( | gpio::Pwm * | pwmController, |
| uint32_t | frequency | ||
| ) |
Plays the buzzer at the given frequency.
| [in] | pwmController | The PWM object that has access to the buzzer. |
| [in] | frequency | The PWM freqneucy that corresponds to a pitch. |
| void tap::buzzer::silenceBuzzer | ( | gpio::Pwm * | pwmController | ) |
Silences the buzzer.
| [in] | pwmController | the PWM object that has access to the buzzer. |