I would like to use the Teensy LC's physical DAC at its full resolution (12-bit) whilst using the PWM outputs at a lower resolution (7-bit, to be able to run them faster).
But calling analogWriteResolution(7) reduces the usable resolution of the physical DAC too.
The physical DACs have a fixed real resolution, it seems to me that analogWrite() calls targeting the DACs should not be affected by the analogWriteResolution() function.
Maybe we need a separate DACWrite() function or maybe the analogWriteResolution() needs a pin number argument like analogWriteFrequency()?
But calling analogWriteResolution(7) reduces the usable resolution of the physical DAC too.
The physical DACs have a fixed real resolution, it seems to me that analogWrite() calls targeting the DACs should not be affected by the analogWriteResolution() function.
Maybe we need a separate DACWrite() function or maybe the analogWriteResolution() needs a pin number argument like analogWriteFrequency()?