View Single Post
  #6   Spotlight this post!  
Unread 19-01-2012, 11:29
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Weird PWM behaviour?

We have been having the same issue the last few days. Using a multimeter, we did not see voltage on the PWM pins.

I did some additional research last night and found that the slot arrangements on the CRIO have changed, and may have to be accounted for when constructing the jaguar.

If I remember correctly, the digital sidecar needs to go in either slots 2 or 6 this year, if it is in slot 2 your code is fine, but if it's in slot 6 you must modify to:
Jaguar j = new Jaguar(2,1); //the channel must be 2 for a digital car in slot 6.

(note: I'm programming in C++ and this is valid, but you may want to make sure the channel is the first param for Java)

I haven't had a chance to test if this resolves our issue, but I've got a good feeling hope this can help.

Last edited by DjScribbles : 19-01-2012 at 11:30. Reason: added disclaimer for java constructor