In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: You know, the docs (original Ubicom and current Parallax) say to make RB.0 an output, and RB.1 and RB.2 inputs; somewhere, though, I read that the comparator output is connected directly to the RB.0 pin and doesn't rely on the TRIS register (I wish I could remember where I read that). For grins, I just did another test like this: [code]Start: COMPARE 1, result INPUT RB.0 Main: GOTO Main[/code] And the LED still lights! -- so that continues to suggest that the comparator output is connected directly to the port pin. My concern is what happens when RB.0 is set to output low and the comparator bit is high -- is there a conflict? I can't imagine the designers would allow this. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=234186#m234478 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)