In SX Microcontrollers, SX/B Compiler and SX-Key Tool, roondog wrote: I am wanting to use the SX to poll a pushbutton and turn on a LED for 5 seconds when the button is pressed using assembly code. I am confused how a "do loop" is created in assembly code to continuously poll the pushbutton. Is there any example code on the Parallax site do perform this? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=429713 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2010 (http://www.dotNetBB.com)