Quote:
|
Originally Posted by Kevin Watson
Did you read the readme.txt file. No? Well, here's a paragraph that might interest you:
This software makes the assumption that when it's running, it
solely controls the analog to digital conversion hardware and
that only the gyro, on analog input one, is being sampled.
Calling Disable_Gyro() will disable the gyro software and allow
you to use the ADC for other purposes.
One way around this is to double the timer 2 interrupt rate and then interleave your ADC measurements within the timer 2 ISR. If there's interest, I can modify the code to include accelerometer measurements too.
-Kevin
|
Can we not simply use a standard analog input for the gyro? Why is it necessary to use the ADC as set up in the example code?
Thanks - Jeff