This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

dac_basic

Overview

The dac_basic example shows how to use DAC module simply as the general DAC converter.

When the DAC’s buffer feature is not enabled, the first item of the buffer is used as the DAC output data register. The converter would always output the value of the first item. In this example, it gets the value from terminal, outputs the DAC output voltage through DAC output pin.

Supported Boards