Hello together,
I would like to use the DAC on my Portenta H7 with the following code:
import time, machine, pyb
dac = pyb.DAC(pyb.Pin(‘A6’))dac.write(4095)
Unfortunatly a errror message appear: ValueError: DAC(1) doesn’t exist.
What would be the correct way, to enable the DAC?
Thank you.