Presently analogWriteResolution is a global setting. Is this necessarily so, or can settings be made to get different resolution settings on different pins?
The use case is that Teensy4 enables PFM at ultrasonic frequencies ie 40khz. This center frequency requires resolution to be set to 11 bits. At this resolution, there is poor behavior attempting to generate lower frequencies with other pins. Is there a work around?
The use case is that Teensy4 enables PFM at ultrasonic frequencies ie 40khz. This center frequency requires resolution to be set to 11 bits. At this resolution, there is poor behavior attempting to generate lower frequencies with other pins. Is there a work around?