im trying to use WiiM+ for controlling 2 servos for pan-tilt camera. i have already done this successfully with nunchuck but having a hard time with WiiM+im using Knuckles code for reading the WM+ but the readings are not consistent. yaw, pitch, roll changes for a while when i move the WM+ but values are drastically variable ( between -2560 and + 1800).. values are not stable even when i hold the WM+ stand still on the table... pls help...

WM+ is technically an accelerometer for measuring x y z translation, it can be used to measure tilt but requires some math, you were on the right track with the nunchuck cuz it does contain gyro's to measure tilt

Gyros measure rotational rate about an axis, so you need to add up the rates over time (ie. "integrate") to get the rotational distance (tilt from initial measurement). Gyros in that sense are "relative" devices and cannot determine which absolute position they are pointing at any time.

Quote

the nunchuck cuz it does contain gyro's to measure tilt

No, the nunchuk only contains linear accelerometers, the measurement of tilt is possible because of the way gravity resolves into the orthogonal axes along which the accelerometers are placed. As you tilt from horizontal some of the gravitational acceleration is measured on the accelerometer other than the vertical one, as calculated by trigonometry.