|
Re: Two of Five encoders are giving identical values
Quote:
Originally Posted by M.Rehberg
Our development systems have update 3, however when we try to use the "k4X", or "k2X". The compiler returns the following error:
|
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 Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
|