How do the on chip XIAO DAC

Product : XAIO
Code : ARDUINO

How do I use the internal DAC to generate a static DC value?
All online example are for MCP4725.
I like to use the ONBOARD DAC and not to made audio but to control a power supply.

Hi ets354

Please go to this link:

or: https://learn.sparkfun.com/tutorials/samd21-minidev-breakout-hookup-guide/example-analog-input-and-output

Wish it can help you.

Best regards
Fenyi