|
I tried to use the getRawAxis(3) earlier and it didn't work. I actually just took a look at the WPI library and it has a getThrottle() function under the library class. I didn't know this existed so I'm gonna try it later. I didn't have internet access when I was coding earlier so I couldn't access the library.
I'll post back how it work when I get a chance to change my code.
Just for my knowledge, how would I go about inverting it? And also if we only need to drive the motor one direction (it's just a spinning wheel) is there a way to have it only go from 0 to 1 or 0 to -1?
__________________
2012 Boilermaker Regional Champions (With 1756 & 1501)
Team Captain, Programmer, Lead Driver
Last edited by touchdownjesus4 : 02-02-2012 at 19:40.
|