In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Jim, You only have to setup the mode once. But be aware that it is a SWAP and not a write. I think you also have to make RB.0 an output. It's been a long time since I used the comparitor. Can you post you code ? Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=406225#m406228 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)