|
Re: Counter & DIO not working every time
Have you probed the wire to see if it actually is NaN? Try probing up to the source of the NaN.
I usually use NaN in my code to indicate fatal error conditions. It's possible something has an NaN error.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|