
Re: HiTechnic Gyroscope Code
Unfortunately, the gyro only gives you the rate of turning (angular velocity) not the heading. So you must integrate the turn rate into heading before you can use it to keep track of how much you have turned. It's probably not basic code, but the following thread has detail description on one way to use gyro to turn accurately.
viewtopic.php?f=52&t=3152