1 What is the DAC Peripheral Library (PLIB)

The Digital-to-Analog Converter (DAC) supplies a variable voltage reference, ratiometric with the input source, with programmable selectable output levels.

The output of the DAC can be selected as a reference voltage to several other mperipherals or routed to output pins.