Wii motion plus yaw problem

Hello to every one
I am trying to read the data of the gyros from the wii motion plus with an Arduino UNO . The problem is that although I make the neccesary connections between the arduino and the wii motion plus the data of the yaw doesn’t change all the other readings for the roll pitch seems to be ok. The sketch that I have aploaded to he arduino is the following.could it be that my motion plus is damaged?

#include <Wire.h>

byte data[6];          //six data bytes
int yaw, pitch, roll;  //three axes
int yaw0, pitch0, roll0;  //calibration zeroes

void wmpOn(){
  Wire.beginTransmission(0x53);    //WM+ starts out deactivated at address 0x53
  Wire.send(0xfe);                 //send 0x04 to address 0xFE to activate WM+
  Wire.endTransmission();          //WM+ jumps to address 0x52 and is now active

void wmpSendZero(){
  Wire.beginTransmission(0x52);    //now at address 0x52
  Wire.send(0x00);                 //send zero to signal we want info

void calibrateZeroes(){
  for (int i=0;i<10;i++){
    for (int i=0;i<6;i++){
    yaw0+=(((data[3]>>2)<<8)+data[0])/10;        //average 10 readings for each zero
  Serial.print("  Pitch0:");
  Serial.print("  Roll0:");

void receiveData(){
  wmpSendZero();                   //send zero before each request (same as nunchuck)
  Wire.requestFrom(0x52,6);        //request the six bytes from the WM+
  for (int i=0;i<6;i++){
  yaw=((data[3]>>2)<<8)+data[0]-yaw0;        //see http://wiibrew.org/wiki/Wiimote/Extension_Controllers#Wii_Motion_Plus
  pitch=((data[4]>>2)<<8)+data[1]-pitch0;    //for info on what each byte represents

void setup(){
  Serial.println("WM+ tester");
  wmpOn();                        //turn WM+ on
  calibrateZeroes();              //calibrate zeroes

void loop(){
  receiveData();                  //receive data and calculate yaw pitch and roll
  Serial.print("yaw:");           //see diagram on randomhacksofboredom.blogspot.com
  Serial.print(yaw);              //for info on which axis is which
  Serial.print("  pitch:");
  Serial.print("  roll:");