I ran the code Ms M. suggested and after a few setup line changes everything started to come around. I have the voltage divider set for exactly 5 volts to the AD. Here is the bummer: the display says Volts = 0.00 when the power supply is at zero volts, this is OK, but when the voltage is run up the display numbers are showing strobe dimming and are totally incorrect and unstable. The "Volts =" is steady and OK. The numbers vary from above 0.00 to 65.05 volts which is way off since the power suppply only runs up to about 25 volts. Can this be worked out by additional code or by filtering? My digital bench meter is showing a good clean output across the input to the AD which is 0 to 5volts.
Bookmarks