View Single Post
  #2   Spotlight this post!  
Unread 19-01-2009, 10:35
jee7s jee7s is offline
Texan FIRSTer, ex-frc2789, ex-frc41
AKA: Jeffrey Erickson
FRC #6357
 
Join Date: Nov 2007
Rookie Year: 1997
Location: Dripping Springs, TX
Posts: 315
jee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond repute
Re: Inputs for the Encoder

(I'm assuming you are using C++ for this...)

There are no specific inputs for the encoders. You specify the input module and channel in the constructor when you declare the encoder object. That declaration routes the channels to the appropriate part of the FPGA, which handles your counting and rate calculation.

-Jeff Erickson, FRC 41