Analogue reader for a gyroscope chip

Ive been given a simple gyroscop chip out of an RC copter. My friend tells me I should get an analogue reader program just to see what the chip does. Does anyone have a bit of code lying about?

How about the obvious:

void loop ()
  Serial.println (analogRead (0)) ;
  delay (1000) ;