|
Re: Light sensor as shaft encoder too fast for Lab View Code?
Use a built-in counter function in the WPI library. It uses the cRIO's hardware support to watch the input signal fast enough for anything you might want to throw at it. In your code, you can look to see when the counter changes value.
|