|
Re: No Signal From Gyro
We use analog feedback for our arm, and a gyro to control turns
on our robot. The cast on the GetAnalogValue() call is not required,
because the routine is declared somewhere,
but the cast for arguments to printf is, because "char" will otherwise
get pushed on the stack, for efficiency purposes, I presume.
We have the "generate pwms" call commented out in our code, and
use only the "normal" pwm outputs, it being general policy to comment
out anything that might be considered "exotic" and a cause of possible
trouble. I think that the "Keeper of the magic 8 ball" has it right
on this question... Pitch the "generate pwms" and go for the normal
pwm outputs.
Last edited by eugenebrooks : 14-10-2004 at 23:53.
|