The challenge is to implement an external DAC analog output using PWM. In MK there is 14 pins with PWM (requires only 2 analog outputs). It is clear that you need to add the integrating filter (RC-circuit), which is not clear based on what to count. Also interested in whether the filter voltage regulator or not, in which situations is it generally used?
And Yes, the code should not be written, only requires a diagram.
Sorry if questions are stupid, from articles that ran, already the head boils.
RC-chain with a large time constant (\tau = RC; order of magnitude greater than the period of the PWM). If you are not sure in theory, practice is the best tool. Take some simple circuit simulator and try to select values.