In SX Microcontrollers, SX/B Compiler and SX-Key Tool, johncouture wrote: Ah Ha! Thank you Jon, I was trying to read the pin directly instead of reading the WKPND_B which is a "latch" that indicates that the pin was toggled. Interesting. In "classic" programming, the data goes from right to left on an equals sign, as in: a = b + c Yet, at the top of your program, you have WKPND_B = rbStatus which implies that the rbStatus receives the data not the WKPND_B? Is that just because the compiler was designed that way? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=92178#m92565 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)