In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: I suspect, John, that one or more of your temporary variables is being clobbered by your LCD_BYTE subroutine but you don't show it so I can't be sure. Yesterday I was working on a demo program for Parallax's new MLX90614 temperature sensor and needed straight DEC (variable width) output. I've pulled the necessary parts from that as well as the DEC3 that you want to do; see the program that's attached as I think it will help you. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=260591#m260629 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)