
This example program shows how to configure and use the D/A Converter of the following microcontroller:
The program configures the D/A and generates a sine wave on the DAC0 channel and a sawtooth waveform on the DAC1 channel.
To watch the effect this program has on the D/A Converter:
When the program writes to DAC0 you will see the corresponding registers change in the D/A Converter dialog.
µVision3 users may enable the built-in Logic Analyzer to view and measure the digital input and analog output signals graphically.
Download File