Hi, I want to use a pic to measure AC line voltage. First, my hardware scales down 200V to 5V and flips the negative duty cycle to positive so that the pic can read the signal. Then the pic reads the voltage every 0.1ms with an adc port. Now I have many almost 100 reads within a duty cycle. No this is a math question: How do I calculate the AC voltage from these reads? Thanks, Tony -- 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