In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mwiht37 wrote: I have tried your code and suggestions, but I still cannot get the poll button to become active. I hooked up an LED to rb.0 to watch the state of pin ra.0 and I noticed something else that seems odd to me aswell. I am under the impression that if I set rb.0 to an output and then say HIGH RB.0 that the pin will go high. I thought the was pretty much the same thing as saying RB.0 = 1. Likewise I should be able to use RB.0 = 0 and LOW RB.0 interchangably, right? Consider this code: output rb.0 input ra.0 Start: if ra.0 = 0 then rb.0 = 1 else rb.0 = 0 endif GOTO Start Compared to this code: output rb.0 input ra.0 Start: if ra.0 = 0 then HIGH rb.0 else LOW rb.0 endif GOTO Start When I hook an LED up to RB.0 and press the button on ra.0, the led blinks as expected with the bottom code... but nothing happens at all when I press the button using the top code. Is this what you guys would expect? Thanx for your continued support. I'll figure this thing out sooner or later ;) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=185862#m186632 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)