Gyroscope implementaion on the BasicStamp platform.