In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJ Allen wrote: 243 - 203 = 40 !! Let's say the results VAR is [i]volts[/i]. volts = volts-203 volts = volts/8 That'll give a result of [i]volts[/i] as volts. If you want 1 to 10 then divide by 4 instead of 8 ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=317226#m317265 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)