Go to Post This is how students can be inspired! - Rich Wong [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #3   Spotlight this post!  
Unread 12-02-2009, 22:00
dboisvert dboisvert is offline
Registered User
AKA: Dan Boisvert
FRC #2405 (Divided by Zero)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Michigan
Posts: 57
dboisvert is an unknown quantity at this point
Re: problems with multiple encoders, please help!

Code:
Encoder front(1,2);
Encoder back(3,4);

while (1)
{
printf("%d %d\n", front->Get(), back->Get());
}
That should do the trick
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anyone help with encoders Chris11246 NI LabVIEW 2 06-02-2009 15:28
Multiple Robots, Please Help Zyik Control System 3 17-02-2008 20:43
Please help me with my Camera problems! Ianuser Programming 2 10-02-2007 21:17
Need help with shaft encoders edthegeek Control System 9 23-11-2006 15:08
Problems with PID- PLEASE HELP!!! thinkpad Programming 12 10-02-2005 00:18


All times are GMT -5. The time now is 21:51.

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