MPU6050 + Arduino + Processing

Thank u krodal,

For The great Job. I have successfully connected ur code with teapot. however there is some changes i made. First i directly compiled ur Code and it didn't worked, but Still its giving me the quaternion data. Then i just changed some variables initialization that's all its working fine XD.

Changes are
byte processed_packet[8];
byte received_packet[50];
byte packetCount = 0x00;

To

char processed_packet[8];
char received_packet[50];
char packetCount = 0x00;

And
void sendQuat(){
char packetType = 0x02;
char button = 0x00;


}

Thats all Cheers :slight_smile:

And again Lots of thanks to Kordal again for his hard work