View Single Post
  #1   Spotlight this post!  
Unread 13-02-2011, 16:50
pureinit pureinit is offline
Registered User
FRC #3506
 
Join Date: Feb 2011
Location: Charlotte, NC
Posts: 1
pureinit is an unknown quantity at this point
Encoder Instance

Our team is programming in Java, and we can't find out how to create a proper instance of an encoder. We looked at the constructor method for Encoder, and it needs a boolean. However, when we put 'true' or 'false' in, we kept producing an error. The code looks sort of like this:

rfEncoder = new Encoder(true, 5);


since this isn't working, what should we do instead?
Reply With Quote