Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
|
Audio control for the onboard piezo buzzer. More...
#include <Arduino.h>
Go to the source code of this file.
Macros | |
#define | PIEZO_BUZZER_PIN GPIO_NUM_17 |
GPIO pin to control the piezo buzzer. More... | |
Functions | |
static void | init_tones () |
Start tones by setting GPIO pin as an OUTPUT to control the onboard piezo buzzer. More... | |
static void | startup_tone () |
Used on device startup. More... | |
static void | shutdown_tone () |
Used on device shutdown. More... | |
static void | completed_tone () |
Command completed tone. More... | |
static void | message_tone () |
BluetoothLE message received tone. More... | |
static void | error_tone () |
Generic error tone. More... | |
Audio control for the onboard piezo buzzer.
A GPIO pin is used to drive the gate of a transistor connected to an onboard piezo buzzer. Several tones are provided to enable audio feedback when the device is running.
#define PIEZO_BUZZER_PIN GPIO_NUM_17 |
GPIO pin to control the piezo buzzer.
|
static |
Command completed tone.
|
static |
Generic error tone.
|
static |
Start tones by setting GPIO pin as an OUTPUT to control the onboard piezo buzzer.
|
static |
BluetoothLE message received tone.
|
static |
Used on device shutdown.
|
static |
Used on device startup.