Sending constant float data from Arduino to Processing's Python

Hey guys,

I have a little project I'm working on involving IMU chips and arduinos, and I'm trying to send real world data from my arduino to processing.

Problem is it doesn't seem to be working... I kind of got it working before but it ended up lagging out apparently due to the arduino sending too much data to processing.

Here is the code, I have hacked the Arduino code off an existing library. The only part of the Arduino code that matters is the bottom section of it, where I println it.

Any help would really really be appreciated!

Here is the code, I have hacked the Arduino code

That is a picture of your code which is a waste of time posting as it is difficult to read and cannot be copied and pasted into an editor.

Please read this and follow the advice on posting code (all of it) using code tags.

Why is x a float, while y and z are ints?

I did not know Processing uses Python. I thought it uses Java?

I know a little about Python but nothing about Java.

...R

I did not know Processing uses Python. I thought it uses Java?

It used to. It appears that that has changed. Not for the better, IMHO.

Processing supports different modes beside the standard Java mode.