Go to Post I want to use some of that mass-less rod in our robot - saves weight. - ebarker [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi