[Solved] How do I do cheap DAC?

Another way might be to use a digital potentiometer to feed it, then set the potentiometer using the DIP switch.