In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Electronegativity wrote: Hi, first a correction: rb.3 should be rb.1 in the post above. Paul, that is a reasonable suggestion but it would make it difficult to port the code from one chip to the next since I suspect that each chip would require a slightly different transform, and even within a given chip the local temperature and electromagnetic environments could affect the weighting towards 1 or 0. Tracy, there is nothing connected to any of the comparator pins. rb.1 and rb.2 are initialized as inputs and set low. rb.0 is initialized as an output, set low, and is configured to output the comparator value. I will try your oscillating comparator trick when I get home. Does anyone have a clue why the strange behavior I described at the end of my last post occurs? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=90112#m90603 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)