View Single Post
  #8   Spotlight this post!  
Unread 08-02-2009, 16:21
Analog's Avatar
Analog Analog is offline
Registered User
AKA: Bob Most
FRC #2619 (The Charge)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Midland, Michigan
Posts: 53
Analog will become famous soon enoughAnalog will become famous soon enough
Re: Two of Five encoders are giving identical values

Quote:
Originally Posted by Ken Streeter View Post
This is a scoping issue. We found that we needed to qualify the constant with the class where it is declared. I suggest using one of the following:
Code:
  CounterBase::k1X
  CounterBase::k2X
  CounterBase::k4X
--ken
Ken, I really appreciate your insight. Thanks.
Reply With Quote