The sound chip provides two types of audio output drivers: Digital-to-Analog Conversion (DAC) and Push-Pull DAC (PPDAC).
PPDAC is simpler to use, consumes less power, gives good audio quality, and is recommended for almost all applications.
When using PPDAC output, the speaker should be connected to the PWM connector.
|
Code Example |
Meaning |
|
ppdac |
Set the audio output type to PPDAC (PWM). |
Depending on the Device Name selected in the program, both audio output types may not be available for use.