Bruce Partridge wrote: > I have two pins that are analog attached to my pic. What is the best > state to put them in to reduce current during sleep. > > ... > > The other pin is a voltage divider from VBAT that I use to monitor the > battery. It will be sitting between 2 and 4 volts. If you're really worried about sleep current, then you shouldn't have a voltage divider on the battery that is permanently on. Also, if the PIC is powered by this same battery, then you need a separate voltage reference to be able to calculate the battery volage. Otherwise you are only verifying the divide ratio of the divider. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.