View Single Post
  #4   Spotlight this post!  
Unread 10-03-2003, 13:42
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,756
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
If hooked up properly at rest the Gyro will normally read 127. It will return other readings only when you move it. Try using a simple test program that only reads the analog input and debug prints the results to eliminate any other potential code errors, e.g.,
debug 2,0,1, DEC3 sensor1

Tell us what pins you hooked to, so we can double check.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle