audioamp2 2.0.0.0
|
Audio Amp 2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Audio Amp 2 Click example.
This application amplifies the sound on the speakers.
The demo application is composed of two sections :
Initializes GPIO driver and puts device in Standby Mode as default operation mode and selects 20dB as default gain selection.
Activates Mute operation mode for 4 seconds and after that activates Play mode. When the device is in Play mode then changes the gain selection, first sets the minimum gain (20dB) for 8 seconds and then sets the maximum gain (32dB) for 8 seconds too.
note: Internally, the gain is set by changing the feedback resistors of the amplifier.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |