RC network on the output of the PWM as well... --- Antonis Iliopoulos wrote: > dear Wallace, > > this is avery good idea - I programmed a pic with > 3CCP channels so I can implement it straight away... > > Antonis > > Wallace YANG wrote: > Hi Antonis, > > Would using PWM help? With PWM, the voltage level > oscillates between 0 and Vdd at a frequency that you > can set. If your Vdd is 5V, and the voltage is high > 60% of the time, and low 40% of the time, you can > get > 3V on average. Similarly, you can change your duty > cycle to obtain other voltage levels. > > Cheers, > > Wallace > > -----Original Message----- > > > From: piclist-bounces@mit.edu > > > [mailto:piclist-bounces@mit.edu] On Behalf Of > Antonis Iliopoulos > > > Sent: Friday, April 22, 2005 11:32 AM > > > To: Microcontroller discussion list - Public. > > > Subject: Digital to ANALOG > > > > > > > > > Dear all, > > > > > > I know about analog to digital but how could you > do DIGITAL > > > to ANALOG? Is there an internal function? > > > > > > I would like to supply form the PIC another > device > with up to > > > 3 volts with a resolution of 50mV is that > possible? > > > > > > > > > > > > Regards > > > > > > Antonis > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist