In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: You are using zero for the index in serout. "inc temp1(0)" isn't going to change what element temp1(0) is. I think you want: temp1(0) = temp1(1) temp1(1) = temp1(2) temp1(2) = temp1(3) This will shift the elements down so temp1(0) is the next value. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=202186#m202192 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)