View Single Post
  #1   Spotlight this post!  
Unread 11-02-2008, 23:14
johnsmith11111 johnsmith11111 is offline
Registered User
no team
 
Join Date: Feb 2008
Location: pacific ocean
Posts: 4
johnsmith11111 is an unknown quantity at this point
gyro not working

I'm programming in easy-C with a gyro. I had a simple autonomous function initialize the gyro, wait 1200 milliseconds, start the gyro, then go to a loop where it got the gyro value and printed it to screen. No matter how I turned the gyro, it only gave a readout of zero. I then downloaded the same code but without the 1.2 second wait, and it worked fine. When I try to embed this code into the rest of my autonomous code, it does not work. Can anyone help me?