|
Veethree D7 SDK
|
The buzzer class.
The buzzer class is responsible for all buzzer operations.
#include <buzzer.h>
Static Public Member Functions | |
| static void | buzzer_enable (bool enable, buzzer_boost level=buzzer_boost::no_boost) |
| Enable or disable the buzzer, using default definitions for buzzer_config. | |
| static void | buzzer_enable (bool enable, const buzzer_config &cfg) |
| Enable or disable the buzzer by taking a custom buzzer setup. See buzzer_config. | |
The buzzer class.
The buzzer class is responsible for all buzzer operations.
|
static |
Enable or disable the buzzer, using default definitions for buzzer_config.
| enable | true the buzzer will sound, false to make it stop. |
| level | buzzer boost level. See buzzer_boost. |
|
static |
Enable or disable the buzzer by taking a custom buzzer setup. See buzzer_config.
| enable | true the buzzer will sound, false to make it stop. |
| cfg | A buzzer::config struct which you can customise how the buzzer will sound. |