patrickmueller

I'd like to control a ac current with my arduiono uno board.Let's say I've a ac source 9v <1mA. With a digital pot I'd like to control the voltage of the source. Over SPI I can send a value between 0-128 to the digi pot. 0 should result an output of 0v, 128 of 9v.

I could control a dc source with a transistor an the digi pot but how can I do this with a a source?