|
Veethree D7 SDK
|
an implementation of buzzer_impl_interface that interacts with a real buzzer on the D7 target
#include <buzzer_impl.h>
Public Member Functions | |
| void | set_boost_level (buzzer_boost level) override |
| Set the boost level. | |
| void | enable_boost (bool enable) override |
| Enable or disable boost. | |
| void | buzzer_enable (bool enable, const buzzer_config &cfg) override |
| Enable or disable the buzzer by taking a custom buzzer setup. See buzzer_config. | |
an implementation of buzzer_impl_interface that interacts with a real buzzer on the D7 target
|
override |
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. |
|
override |
Enable or disable boost.
| enable | true the buzzer will sound, false to make it stop. |
|
override |
Set the boost level.
| level | The new boost level |