View Single Post
  #16   Spotlight this post!  
Unread 13-02-2014, 10:33
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,729
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Programming Victors in Java

Quote:
Originally Posted by 18mfogwell View Post
We think that we have verified the problem is in the code. Can somebody look at the code again and double check for errors?

Thanks!
The reason that I'm confident that its not the code is the fact that

Code:
Victor Scoop = new Victor(4);  //The motor in port 4 of the DS is called Flap
Victor Window = new Victor(5);  //The motor in port 5 of the DS is called Lift
Victor Pulley = new Victor(6);  //The motor in port 6 of the DS is called Roll
those three lines alone would cause the Victors' lights to become a steady orange when the robot is enabled. The fact that they are blinking orange makes me believe something is going on elsewhere. Unless of course there are errors appearing in the console when you run that we're not aware of. Are there any errors in the netbeans console when you run the code?
Reply With Quote