---- START NEW MESSAGE --- Received: from cherry.ease.lsoft.com [209.119.0.109] by dpmail10.doteasy.com with ESMTP (SMTPD32-8.05) id A47039D0226; Wed, 28 Jan 2004 00:36:00 -0800 Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <5.00CC087B@cherry.ease.lsoft.com>; Wed, 28 Jan 2004 3:34:56 -0500 Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release 1.8e) with spool id 3827 for PICLIST@MITVMA.MIT.EDU; Wed, 28 Jan 2004 03:34:50 -0500 Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2d/1.8d) with BSMTP id 2807; Wed, 28 Jan 2004 03:32:47 -0500 Received: from eagle.ericsson.se [193.180.251.53] by mitvma.mit.edu (IBM VM SMTP Level 430) via TCP with ESMTP ; Wed, 28 Jan 2004 03:32:46 EST X-Comment: mitvma.mit.edu: Mail was sent by eagle.ericsson.se Received: from esealnt612.al.sw.ericsson.se ([153.88.254.118]) by eagle.ericsson.se (8.12.10/8.12.10/WIREfire-1.8b) with ESMTP id i0S8WmAh009331 for ; Wed, 28 Jan 2004 09:32:48 +0100 Received: by esealnt612.al.sw.ericsson.se with Internet Mail Service (5.5.2657.72) id ; Wed, 28 Jan 2004 09:32:48 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Message-ID: <37FB7AA6F5F9814FB634A7BF4C35A6F5640CE5@ESEALNT442.al.sw.ericsson.se> Date: Wed, 28 Jan 2004 09:32:33 +0100 Reply-To: pic microcontroller discussion list Sender: pic microcontroller discussion list From: "Jan-Erik Soderholm XA (TN/PAC)" Subject: Re: [PIC:] Vref+, VDD and PWM on PIC16f818 To: PICLIST@MITVMA.MIT.EDU Precedence: list X-RCPT-TO: Status: U X-UIDL: 371856055 Stefano Vanzo wrote : > I am starting with PWM and have 2 questions > about this project: > 1 analog input with 4.096 Volt ref+ > 1 PWM > 3 digital pins for digital byte output of the analog value > > First question, if i use PWM with FFFF output will it give me > 4.096 volts, 5 volts or will it be unknown What do you meen with "FFFF output" more specificaly ? Are you setting some register ? If so, which ? ANd the Vref has nothing to do with the PWM. > Second question after I started PWM does it keep on going by > it's own... Yes. Jan-Erik. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics .