DAC

DAC (Digital to Analogue Conversion) allows you to set a 8 or 12 bit digital value that is converted to an analogue value. MCU’s with these capabilities usually only have two pin’s capable of this.

Init

Initialize and wire the DAC. Set buffer size, pin and output frequency.

writeAnalogue

Write a single analogue value either directly to the port or to an output buffer. To ignore output buffer just set it to zero in Init().