Quote:
|
Originally Posted by Jeff G
Can we not simply use a standard analog input for the gyro?
|
Sure, if you only need angular rate of change.
Quote:
|
Originally Posted by Jeff G
Why is it necessary to use the ADC as set up in the example code?
|
For those that need heading too, you need to integrate the gyro's output, which means that you must also know the amount of time between ADC samples. The way I look at it, reading and restarting the ADC during a timer interrupt service routine is the simplest and most elegant way to solve the problem short of using external hardware.
-Kevin