#include <Buzzer.h>
Definition at line 5 of file Buzzer.h.
◆ BuzzerController()
| BuzzerController::BuzzerController |
( |
int |
duration_of_activation_ms | ) |
|
|
inline |
Definition at line 9 of file Buzzer.h.
9 {
11 }
unsigned long buzzer_period_
◆ activate_buzzer()
| void BuzzerController::activate_buzzer |
( |
unsigned long |
act_time | ) |
|
Definition at line 8 of file Buzzer.cpp.
9{
12}
unsigned long last_activation_time_
◆ buzzer_is_on()
| bool BuzzerController::buzzer_is_on |
( |
| ) |
|
|
inline |
◆ deactivate()
| void BuzzerController::deactivate |
( |
| ) |
|
◆ done()
| bool BuzzerController::done |
( |
unsigned long |
curr_time, |
|
|
bool |
buzzer_on |
|
) |
| |
Definition at line 16 of file Buzzer.cpp.
16 {
17
18 if (dash_buzzer_on) {
20 }
21
23
24
26
27
29
30}
◆ buzzer_on_
| bool BuzzerController::buzzer_on_ |
|
private |
◆ buzzer_period_
| unsigned long BuzzerController::buzzer_period_ |
|
private |
◆ dash_buzzer_was_on
| bool BuzzerController::dash_buzzer_was_on = false |
|
private |
◆ last_activation_time_
| unsigned long BuzzerController::last_activation_time_ |
|
private |
The documentation for this class was generated from the following files: