Hi There. Anybody please help me with implement the code for MPU with next logic. After calibration MPU i need that values from him will read independency and processed from zero. I mean..... If i put MPU not on the flat surface. For example this surface will have angle 25 degree. After calibrate MPU, he must give values - Identifying this surface as "0". Then he must work as usually - сonsidering this surface as the zero point of reference.
I have already written all code .... so I don't need the whole procedure for connecting and programing from begin. Just this small piece.