View Single Post
  #22   Spotlight this post!  
Unread 17-01-2012, 22:40
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Jaguars are blinking yellow

Quote:
Originally Posted by ColonelThrtyTwo View Post
Here's my test code, in Java:

Code:
    Jaguar jag = new Jaguar(2,1); // Module 2, channel 1
...I can't think of anything else we could be doing wrong...
And now I see it. This year, the module numbers don't represent which slot the module is installed in. The first analog module is #1, and the first digital module is #1, and the first solenoid module is #1. You're telling the code to control something on the second digital module, which is probably not what you want it to do.