View Single Post
  #12   Spotlight this post!  
Unread 17-10-2004, 19:59
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

Quote:
Originally Posted by 527Paranoia
Ok, the 2 differences in my code from yours is that
1.) I used global variables instead of local ones for gyro input.
2.) and I did not initialize them to anything anywhere

I don't know if that will cause any problems....
Won't make any difference. I only used locals to isolate the issue, and initialized them to make sure Get_Analog_Input was really returning a value.

The rest of your description doesn't sound good for the FRC, but run through the test. If the problem looks like the FRC, drop in reads and do the open/closed pin test on all the other analog inputs to see if they're all blown.

Also, test the range of your pot on the EDU to see if it behaves properly there. I'll bring my own pot on Friday if the problem doesn't get solved by then.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 17-10-2004 at 20:12.