View Single Post
  #11   Spotlight this post!  
Unread 17-10-2004, 18:34
colt527 colt527 is offline
Registered User
AKA: Ken Colton
FRC #0527
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Long Island
Posts: 123
colt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to behold
Send a message via AIM to colt527
Re: No Signal From Gyro

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....but what I did notice was that the analog inputs gave 0 when nothing was connected to them, which makes me think the FRC is messed .... but what makes me think its only semi-messed is that when we hooked up a pot we were getting a reading from 0-6 corrosponding with the position of the "turny thing" on the pot. I thought that it SHOULD display 0-1023 like a good 10 bit unsigned integer, so either our pot doesnt like numbers above 6 or the FRC is broken.

I will load the code next available chance and tell you the results. But really, thanks for caring! =) Its always good to know that if you have no clue what you are doing there is someone out there.
__________________
Mentor, Team 527 -- Plainedge Red Dragons
FIRST Volunteer
SUNY Stony Brook Computer Science 2010
kcolton@gmail.com