Recently my cortex has stopped working through ports 2-9 (everything worked fine 3 days ago). I wrote very simple code to test the motors the other day and I got no response from those ports. The code looks like this (including task main):
motor[port2] = 127;
I am in a high school robotics class and have access to lots of parts. I have tried everything I can think of to solve the issue. Here’s what I have tried:
brand new controller 29
brand new cortex
different motors (each of which I am 100% sure are in working order, because I have tested them)
different USB cables
power cycling (cortex and robotC program)
I have wiped the cortex and installed the most recent software
I have the latest version of robotC installed on my computer
I have used sample programs to rule out the possibility that I’m writing faulty code
I have even tried it on a different computer (which I am 100% sure works, because another group is using it to program their robot)
After trying all those things, it still does not work through ports 2-9. So far, I believe issues with the computer software, cortex, 29 controller, motors, USB cables, and my own coding can be ruled out.
Does anyone have any ideas as to what could be wrong?
Thanks in advance!