In SX Microcontrollers, SX/B Compiler and SX-Key Tool, RS_Jim wrote: Jonny and Bean, Thanks for all the help. I went back and studied the hardware on the chip and found that even if the port is configured as an output, you can read its state. I found my biggest problem was with my reference voltage. I used a 10K pot and adjusted it until I got the state change to occur at the right time. Now, I may even try to use edge triggering which I had tried before and found it failed. RS_JIM ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=406225#m406907 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)