DMCP interface
03.15_020
|
Buzzer functions. More...
Functions | |
void | start_buzzer_freq (uint32_t freq) |
Start tone. More... | |
void | stop_buzzer () |
Stop tone. | |
void | set_buzzer (int pin1val, int pin2val) |
Set buzzer IO pins to given values. More... | |
void | beep_volume_up () |
Increase tone volume. | |
void | beep_volume_down () |
Decrease tone volume. | |
int | get_beep_volume () |
Returns current tone volume. More... | |
Buzzer functions.
int get_beep_volume | ( | ) |
Returns current tone volume.
void set_buzzer | ( | int | pin1val, |
int | pin2val | ||
) |
Set buzzer IO pins to given values.
pin1val | Pin1 value |
pin2val | Pin2 value |
void start_buzzer_freq | ( | uint32_t | freq | ) |
Start tone.
freq | [mHz] Tone frequency |