Combining PWM with a small R-2R ladder improves both. It reduces PWM ripple significantly and increases the DAC’s resolution. In this Design Idea, an eight-resistor array and three output pins ...