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.

lpc_dac_basic

Overview

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

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

Supported Boards