Quote:
Originally Posted by JCHS
Alright. Thanks for all the help so far. One last question I hope. When I put the new code in button.java, it says it can't find method grab(). How do I fix this?
|
This code was written for the 2012 WPILib they have updated it with a new trigger class for 2013. You'll have to modify both trigger.java and button .java. Trigger needs similar methods to whileacitve for both toggle and cancel and than you can call them from button.
This is now out of the scope of just a copy and paste solution, sorry.