|
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.
|