|
Re: WPILib and Eclipse
Tank2 works! Thanks for your help.
However, now I'm trying to use interrupt watchers to mess around with a one of the bump switches. I have it hooked up to interrupt port one, called StartInterruptWatcher(1,RISING_EDGE) (also tried FALLING_EDGE), and I can't ever get the Interrupt to go off. I doubt it's a bad swithc, as we tried a few and none worked. Any ideas?
Also, how do I grab pwm values directly from the OI? Eventually I'd like to do more advanced stuff that I can't accomplish by just using the Tank2 function. I also doubt OIToPWM would work, as I need the actualy pwm value. How would I do that?
Thanks.
|