OR if you have extra i/o (let's say 8), you can even built a cheap D/A converter with resistors and an op-amp.