View Single Post
  #3   Spotlight this post!  
Unread 05-06-2012, 10:08
Corran54 Corran54 is offline
Registered User
FRC #3310
 
Join Date: Mar 2011
Location: Rockwall Texas
Posts: 4
Corran54 is an unknown quantity at this point
Re: Trouble with servo

Thank you,
This has helped, however I do not understand where you are getting the
set(int) method, and apparently neither does the code.
The error is that It cannot find the symbol.
Also I am getting this error if you have any clues as to why, that would be helpful
method whenPressed in class edu.wpi.first.wpilibj.buttons.Button cannot be applied to given types;
required: edu.wpi.first.wpilibj.command.Command
found: edu.rhhs.frc.commands.ServoOpen
reason: actual argument edu.rhhs.frc.commands.ServoOpen cannot be converted to edu.wpi.first.wpilibj.command.Command by method invocation conversion
----

Thanks
Reply With Quote