In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote: VelocitąPaola, If the SX is good, then it's almost 100% certain that you changed something in the code. You may think you didn't, but all it takes is a slip of a finger on the keyboard and you can change the code without realizing it. Here are two tests you should make to see what is going on: 1 - If you have an earlier version of the code, program that in and see if the bits start working again. If they do, compare the old and new to see where the change got made. 2 - Write the simplest program that you can that tries to make the bits do what you want. If the bits work, then you know the problem is in your code. If the bits still don't work, post that complete [b]tiny[/b] program on this forum and let the rest of us see if we can spot something. I can understand not being able to post the actual code, but I'm sure you can post a piece of test code that demonstrates the problem. Personally, it sounds like the port pins are no longer being set as outputs. Since all bits default to inputs at startup, if you don't explicitly set them as outputs, then the values will float, giving you random results. Thanks, PeterM ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=263350#m263407 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)