|
Re: Should this code work as intended?
Hm, you shouldn't need to loop the .set methods. I would also set the module the Digital SideCar is plugged into.
Are you sure your jags are wired correctly, when running the code do you notice the LEDs on them change color?
Also are you running auton mode in the Driver Station?
For basic auton code you can do:
Jag.set(.5);
Timer.Delay(4);
Jaq.set(0);
That will run the motor at speed .5 for 4 secs then shut it off.
__________________
Engineering mentor: Team 2485: WARLords 2013-
Team President: Team 3647 2010-2013
|