Programming Reference

The sound chip provides two types of audio output drivers: Digital-to-Analog Conversion (DAC) and Push-Pull DAC (PPDAC).
DAC generally provides better (and louder) sound, but consumes more power and is a little trickier to work with.
When using DAC output, the speaker should be connected to the SPK1 connector.

Code Example



Set the audio output type to DAC.

Depending on the Device Name selected in the program, both audio output types may not be available for use.