View Single Post
  #3   Spotlight this post!  
Unread 11-02-2015, 17:29
mistersands mistersands is offline
Registered User
FRC #4528 (Automatons)
Team Role: Coach
 
Join Date: Aug 2013
Rookie Year: 2013
Location: NYC
Posts: 26
mistersands has a spectacular aura aboutmistersands has a spectacular aura aboutmistersands has a spectacular aura about
Re: Only ports 0 and 1 working on RoboRio

Quote:
Originally Posted by Alan Anderson View Post
I don't see anything wrong with the code.

It is unfortunately easy to get the PWM connection not-quite-right on a Victor. Find someone with lots of practice and have him or her verify that the cables are correctly plugged in. And make doubly sure at both ends that the connectors are not plugged in backwards.
We've done that. If I take the PWM out of port 1 and put it in port 2, it doesn't work. If I take the PWM out of victor 1 and put it into victor 2, it doesn't work. Any cable I swap into port 1 will work, and I can swap it among every victor and see each victor turn to solid light in turn.

But the big thing is, our code doesn't initialize PWM port 0. But everything I just said for Port 1 is also true for port 0. So I'm at a complete loss.
Reply With Quote