In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: I am using the analog input circuit and code from the SX/B help file for the 8-bit ADC example. Currently I am obtaining values of 0-255 between roughly 2.0 to 4.5 volts running at 4MHz. I wish to obtain near linear readings across the full 0-5V range. I assume that since I am using the built in comparator I should be able to distinguish voltage changes rail to rail. If so, what things should I consider\examine to help spread the 0-255 input reading across the entire 0-5V range? - Sparks P.S. The real circuit will be measuring 0-10V. I am planning to use a voltage divider to lower it to the 0-5V range. Right now all testing is with 0-5V. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=177511 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)