Motors executing wrong instructions.

Hello,

We have developed a very strange problem on our lift overnight. It goes all the way to the top, and when it reaches it’s maximum, the controls reverse and it goes down for a while. I have run it with the debug windows open, and it’s sending the same values all the way (even when it’s going down instead of up).

I would really appreciate some help.
Daniel

Are you using ROBOTC or EasyC for your programming? Also, can you post a copy of your code (minimum required to replicate the issue) using the

 tags? This will help us debug any potential issues you might be running into from a programming standpoint.