Quote:
Originally Posted by Alan Anderson
You're not exactly wrong, but it sounds like you haven't worked with the gyro. In order to get the best results from a gyro-based control routine, the analog value must be sampled with extremely regular timing. Kevin Watson provides a framework for using the gyro which does use interrupts to do the analog conversions in the background.
|
I have worked with the gyro, but I didn't use Kevin's base gyro code; I created my own. I am having accuracy issues, and it makes sense that it needs to be called very regularly. I'll read over Kevin's code and probably rewrite my gyro stuff today.
Now I know why you'd use interrupts with a gyro. You learn new stuff every day...
JBot