|
LCC Fusion Project 1.0
LCC Automation
|
Handles buzzer operations for various alerts. More...
#include <LccNodeAlerts.h>
Public Types | |
| enum class | BuzzerAlertTypes : unsigned int |
| Types of buzzer alerts for various events. | |
Public Member Functions | |
| Buzzer () | |
| Constructor for Buzzer class. | |
| void | run (Buzzer::BuzzerAlertTypes buzzerType) |
| Executes a buzzer/LED alert based on the provided alert type. More... | |
Private Types | |
| enum class | BuzzerDurations : unsigned int |
| Durations for different beep types. | |
Private Member Functions | |
| void | _buzz (BuzzerDurations buzzerDuration, uint8_t count) |
| Helper function to control the buzzer state and perform multiple beeps. More... | |
Handles buzzer operations for various alerts.
Definition at line 118 of file LccNodeAlerts.h.
|
inlineprivate |
Helper function to control the buzzer state and perform multiple beeps.
| buzzerDuration | The duration of each beep. |
| count | Number of beeps. |
Definition at line 198 of file LccNodeAlerts.h.

|
inline |
Executes a buzzer/LED alert based on the provided alert type.
Note that the when the buzzer is running (# secs) that the LED next to the buzzer also turns ON (in line with buzzer)
| buzzerType | The type of buzzer alert to execute. |
Definition at line 149 of file LccNodeAlerts.h.

