I need to be able to out a voltage between 0-10VDC but I can't seem to figure out the best way. Any suggestions? I have a 12V source that I can use for this purpose without the need for a doubler. I just need a way to modulate the 12V line. I have tried using a transistor and the PWM output without success. The output from the pic works great but the output from the transistor doesn't seem to work.