In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Tracy Allen wrote: Interesting. How about CMP_OE?... The comparator is enabled (bit 7 of CMP_B=0), and comparator output is enabled (bit 6 of CMP_B=0), then RB.0 is the comparator output and overrides TRIS and the RB.0 states. But when CMP_OE=1, then RB.0 and !RB.0 manage that pin. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=234186#m235071 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)