In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJ Allen wrote: Have you read the SX/B online Help? Therein we read, "[b]Using the Analog Comparator[/b] -- I/O pins 0 through 2 in port B can be set for comparator operation." Whatever else that you want to do and haven't mentioned would go far in helping answer your question. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=228672#m228694 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)