[SOLVED] Getting very abrupt values reading a Gyro or Accelerometer (DUE)

Your I2C communication is not working properly. when you see 0 and 255 all over the place, those are not real numbers, the communication is just not working properly at all.