volume 2.0.0.0
|
Volume Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
float | left_speaker_gain |
float | right_speaker_gain |
uint8_t | one_circle |
Volume Click example.
This example sets up the device and performs volume turn up and down.
The demo application is composed of two sections :
Initializes drivers and powers up the device.
Circles the volume from -40 [dB] to 10 [dB] back and forth.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
float left_speaker_gain |
uint8_t one_circle |
float right_speaker_gain |