Does anyone on here know if the capacitor-resistor combo attached to a pwm output pin of an Arduino gives a decent analog output?
@MLE_online depends on the purpose... If you want is to be smooth it cant change fast.
@RueNahcMohr how fast or slow?
@MLE_online thats set by the RC combination you use. Are you gonna tell what you want to use it for?

@RueNahcMohr @MLE_online

If the pwm is at 100kHz and you are trying to generate a sub 100hz tone, it might be fine. If you want full bandwidth audio to 20kHz, nope.
https://www.allaboutcircuits.com/technical-articles/low-pass-filter-a-pwm-signal-into-an-analog-voltage/

@poleguy @MLE_online

additionally, if you need steady more than resolution, an R-2R DAC is easy to make.