View Single Post
  #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