In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Mike_W wrote: I added two lines after Start: I think this is what you mean I did not post the whole program again only the change. All I wanted to do is display these two values (degF, signF) to a lcd display. which it did as a sub I am mearly trying to understand if it would be better programing by using the Function definition Start: ' PLP_C = %00000111 ' pull up unused pins LcdOut = 1 ' make output pin high WAIT_MS 100 ' let lcd initialize degF = GET_TEMP signC = GET_TEMP As always Thank You Mike ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=274196#m274278 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)