Go to Post But here's the beautiful thing about FIRST: you are supposed to make mistakes. - RunawayEngineer [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 18-02-2014, 23:18
4239 Mack 4239 Mack is offline
Registered User
FRC #4239
 
Join Date: Feb 2014
Location: Minnesota
Posts: 4
4239 Mack is an unknown quantity at this point
Help with Encoder

We are using an encoder for the first time on our robot. Whenever we try to use it or declare it our robot doesnt work.

Code:
Encoder encoder = new Encoder(3, 4);
That is what we are using for the encoder and to get the values we are using.
Code:
encoder.get();
Can anyone help us set this up or provide a detailed tutorial for using an encoder in java?

EDIT: we have also tried using this.
Code:
Encoder encoder = new Encoder(3,4,false,EncodingType.k4x);
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 11:43.

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