|
Re: No Signal From Gyro
Your analog I/O should already be setup in User_Initialization() in the user_routines.c file by the statement:
Set_Number_of_Analog_Channels(SIXTEEN_ANALOG);
I think Get_Analog_Value returns "unsigned int" if I recall correctly, so you might want to typecast the call to “(long int)”.
Will you be at the SBPLI mini-comp tomorrow? If so look me up and I'll help you debug the gyro input.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|