In SX Microcontrollers, SX/B Compiler and SX-Key Tool, rwatts wrote: Peter, Doesn't the first line in my code, TRIS_C = 0, change the direction register for port C to all ouputs after a reset? I know the port is set back to output after the reset because the LED's light up. Ron ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=152406#m152436 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)