When I attempt to have both the PWM audio output device and the DAC audio output device in an audio design, the design tool throws an error "dac1 uses DAC1, too" and "pwm1 uses DAC1, too". Looking at the tool source, it appears that line 436 tries to allocate the DAC hardware to the pwm device. I think that is wrong.
Fortunately, this doesn't prevent generating apparently correct code, but it did stop me in my tracks for a couple of hours while I checked into the conflict warning.
The PJRC example file examples/HardwareTesting/PassThroughMono/PassThroughMono.ino shows this error.
Fortunately, this doesn't prevent generating apparently correct code, but it did stop me in my tracks for a couple of hours while I checked into the conflict warning.
The PJRC example file examples/HardwareTesting/PassThroughMono/PassThroughMono.ino shows this error.
Last edited: