I am still new to PSoC and programming in general. I am trying to make a selfbalancing robot. But richt now I am stuck with using the MPU6050 data. I fond/have a code which gives and prints the raw data (depending on the place of the buffer => see code). So the question I want to ask is if someone can help or send me in a clear derection to 'transform' the raw data, to data I can use for the self balancing robot. I can realy use some help.