Yesterday, when we were testing code for our robot, we found that the robot was not responding appropriately to the buttons we were pressing on our controller. To further investigate, we set up a simple program that would read the buttons that were pressed and print out to the LCD. We saw that the pressing certain buttons would be read as some other button. We tried changing laptops, changing controllers and changing batteries, but the problem persists. The misread values are constant across controllers and power cycles; for instance button 6D is always read as 8U. Only three buttons are read appropriately.
We are using the orange cable to connect the cortex with the controller so it isn’t a vex net issue.
When nothing is pressed, 5D and 6U are true.
When 6D is pressed, 8D is true.
When channels 1 and 2 are not zero, 7D is true.
When 5U is pressed, 5U is true.
When 7L is pressed, 7L is true.
When 7U is pressed, 7U is true.
The values returned from channels 1 and 2 are huge nonsensical four digit numbers. Channels 3 and 4 are copying these values but not reading anything on their own. No other buttons are working or being read.
Any suggestions? Completely stupefied here…!
Jesse
2442B