View Single Post
  #2   Spotlight this post!  
Unread 14-10-2004, 20:44
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,762
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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